Testcase distilled from 255.vortex
authorChris Lattner <sabre@nondot.org>
Mon, 2 Jun 2003 03:07:54 +0000 (03:07 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 2 Jun 2003 03:07:54 +0000 (03:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6525 91177308-0d34-0410-b5e6-96231b3b80d8

test/CBackend/2003-06-01-NullPointerType.ll [new file with mode: 0644]
test/CodeGen/CBackend/2003-06-01-NullPointerType.ll [new file with mode: 0644]

diff --git a/test/CBackend/2003-06-01-NullPointerType.ll b/test/CBackend/2003-06-01-NullPointerType.ll
new file mode 100644 (file)
index 0000000..3121923
--- /dev/null
@@ -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 (file)
index 0000000..3121923
--- /dev/null
@@ -0,0 +1,7 @@
+
+%X = type { int, float }
+
+void %test() {
+  getelementptr %X* null, long 0, ubyte 1
+  ret void
+}