diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-02 03:07:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-02 03:07:54 +0000 |
commit | 71799cda17efb2ce9e2d497964b1f6d5a9413ef0 (patch) | |
tree | 17348d7bdebe378f4a54e92b2240b5115591b66d /test | |
parent | c3eaa89933cf33b0c2c05feb3ebbec4599672139 (diff) | |
download | external_llvm-71799cda17efb2ce9e2d497964b1f6d5a9413ef0.zip external_llvm-71799cda17efb2ce9e2d497964b1f6d5a9413ef0.tar.gz external_llvm-71799cda17efb2ce9e2d497964b1f6d5a9413ef0.tar.bz2 |
Testcase distilled from 255.vortex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6525 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CBackend/2003-06-01-NullPointerType.ll | 7 | ||||
-rw-r--r-- | test/CodeGen/CBackend/2003-06-01-NullPointerType.ll | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/test/CBackend/2003-06-01-NullPointerType.ll b/test/CBackend/2003-06-01-NullPointerType.ll new file mode 100644 index 0000000..3121923 --- /dev/null +++ b/test/CBackend/2003-06-01-NullPointerType.ll @@ -0,0 +1,7 @@ + +%X = type { int, float } + +void %test() { + getelementptr %X* null, long 0, ubyte 1 + ret void +} diff --git a/test/CodeGen/CBackend/2003-06-01-NullPointerType.ll b/test/CodeGen/CBackend/2003-06-01-NullPointerType.ll new file mode 100644 index 0000000..3121923 --- /dev/null +++ b/test/CodeGen/CBackend/2003-06-01-NullPointerType.ll @@ -0,0 +1,7 @@ + +%X = type { int, float } + +void %test() { + getelementptr %X* null, long 0, ubyte 1 + ret void +} |