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