New testcase to track opaque type bug
authorChris Lattner <sabre@nondot.org>
Sun, 14 Jul 2002 23:25:14 +0000 (23:25 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Jul 2002 23:25:14 +0000 (23:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2904 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2002-07-14-OpaqueType.llx [new file with mode: 0644]

diff --git a/test/Assembler/2002-07-14-OpaqueType.llx b/test/Assembler/2002-07-14-OpaqueType.llx
new file mode 100644 (file)
index 0000000..d6d5a83
--- /dev/null
@@ -0,0 +1,12 @@
+; Test that opaque types are preserved correctly
+; RUN: as < %s | dis | as | dis
+;
+
+%Ty = type opaque
+
+implementation
+
+%Ty* %func() {
+       ret %Ty* null
+}