aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-31 00:24:54 +0000
committerChris Lattner <sabre@nondot.org>2002-08-31 00:24:54 +0000
commitb7f804c05833f9cf7cc587a7e8c47209503f7617 (patch)
tree0c97866c77d7197b5cb497d35f13659bf244833f /test
parent2a88bb70657b241343f4a545c5f0d328e2cfdeef (diff)
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3556 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CBackend/2002-08-30-StructureOrderingTest.ll5
-rw-r--r--test/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll5
2 files changed, 10 insertions, 0 deletions
diff --git a/test/CBackend/2002-08-30-StructureOrderingTest.ll b/test/CBackend/2002-08-30-StructureOrderingTest.ll
new file mode 100644
index 0000000000..36b9f34c9c
--- /dev/null
+++ b/test/CBackend/2002-08-30-StructureOrderingTest.ll
@@ -0,0 +1,5 @@
+; This testcase fails because the C backend does not arrange to output the
+; contents of a structure type before it outputs the structure type itself.
+
+%Y = uninitialized global { {int } }
+%X = uninitialized global { float }
diff --git a/test/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll b/test/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll
new file mode 100644
index 0000000000..36b9f34c9c
--- /dev/null
+++ b/test/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll
@@ -0,0 +1,5 @@
+; This testcase fails because the C backend does not arrange to output the
+; contents of a structure type before it outputs the structure type itself.
+
+%Y = uninitialized global { {int } }
+%X = uninitialized global { float }