diff options
author | Chris Lattner <sabre@nondot.org> | 2002-01-24 20:45:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-01-24 20:45:45 +0000 |
commit | 15a2e175fdf8399c27ffff20b109d32425b2eda5 (patch) | |
tree | 27ebda4b84376ad61d970f6270bb2c15e5219a00 /test/CFrontend | |
parent | 11d11f01a95dbf57e10b3ab432bd8c54cbda8c78 (diff) | |
download | external_llvm-15a2e175fdf8399c27ffff20b109d32425b2eda5.zip external_llvm-15a2e175fdf8399c27ffff20b109d32425b2eda5.tar.gz external_llvm-15a2e175fdf8399c27ffff20b109d32425b2eda5.tar.bz2 |
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
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2002-01-24-ComplexSpaceInType.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CFrontend/2002-01-24-ComplexSpaceInType.c b/test/CFrontend/2002-01-24-ComplexSpaceInType.c new file mode 100644 index 0000000..41c87d0 --- /dev/null +++ b/test/CFrontend/2002-01-24-ComplexSpaceInType.c @@ -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() {} |