New testcase to ensure GCC doesn't emit type identifiers with spaces in them
authorChris Lattner <sabre@nondot.org>
Thu, 24 Jan 2002 20:45:45 +0000 (20:45 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 24 Jan 2002 20:45:45 +0000 (20:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1580 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2002-01-24-ComplexSpaceInType.c [new file with mode: 0644]

diff --git a/test/CFrontend/2002-01-24-ComplexSpaceInType.c b/test/CFrontend/2002-01-24-ComplexSpaceInType.c
new file mode 100644 (file)
index 0000000..41c87d0
--- /dev/null
@@ -0,0 +1,9 @@
+// This caused generation of the following type name:
+//   %Array = uninitialized global [10 x %complex int]
+//
+// which caused problems because of the space int the complex int type
+//
+
+struct { int X, Y; } Array[10];
+
+void foo() {}