aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-14 23:25:14 +0000
committerChris Lattner <sabre@nondot.org>2002-07-14 23:25:14 +0000
commit161036fd2259836903b4cd39096cfbd93198a020 (patch)
tree5ba689a20e61d20fabc4042f9357f1118913d8d1
parentb26ff625f2b07a1493f8781035723bdfa0baa4e5 (diff)
New testcase to track opaque type bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2904 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Assembler/2002-07-14-OpaqueType.llx12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Assembler/2002-07-14-OpaqueType.llx b/test/Assembler/2002-07-14-OpaqueType.llx
new file mode 100644
index 0000000000..d6d5a83276
--- /dev/null
+++ b/test/Assembler/2002-07-14-OpaqueType.llx
@@ -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
+}
+