From 6c2d73fc515c8ef6c2a341dce95077ce1235b12d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 24 Jan 2002 20:45:45 +0000 Subject: [PATCH] New testcase to ensure GCC doesn't emit type identifiers with spaces in them llvm-svn: 1580 --- .../Regression/CFrontend/2002-01-24-ComplexSpaceInType.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/Regression/CFrontend/2002-01-24-ComplexSpaceInType.c diff --git a/test/Regression/CFrontend/2002-01-24-ComplexSpaceInType.c b/test/Regression/CFrontend/2002-01-24-ComplexSpaceInType.c new file mode 100644 index 00000000000..41c87d0dcb6 --- /dev/null +++ b/test/Regression/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() {}