diff options
Diffstat (limited to 'test/CodeGen/2002-01-24-ComplexSpaceInType.c')
-rw-r--r-- | test/CodeGen/2002-01-24-ComplexSpaceInType.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/2002-01-24-ComplexSpaceInType.c b/test/CodeGen/2002-01-24-ComplexSpaceInType.c new file mode 100644 index 0000000000..9af533dfa4 --- /dev/null +++ b/test/CodeGen/2002-01-24-ComplexSpaceInType.c @@ -0,0 +1,11 @@ +// RUN: %clang_cc1 -emit-llvm %s -o /dev/null + +// 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() {} |