From 15a2e175fdf8399c27ffff20b109d32425b2eda5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 24 Jan 2002 20:45:45 +0000 Subject: 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 --- test/CFrontend/2002-01-24-ComplexSpaceInType.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/CFrontend/2002-01-24-ComplexSpaceInType.c (limited to 'test') diff --git a/test/CFrontend/2002-01-24-ComplexSpaceInType.c b/test/CFrontend/2002-01-24-ComplexSpaceInType.c new file mode 100644 index 0000000000..41c87d0dcb --- /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() {} -- cgit v1.2.3