New testcase to ensure GCC doesn't emit type identifiers with spaces in them

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1580 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-01-24 20:45:45 +00:00
parent 11d11f01a9
commit 15a2e175fd

View File

@ -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() {}