summaryrefslogtreecommitdiff
path: root/test/FrontendC/2002-01-24-ComplexSpaceInType.c
blob: 13d92c7306ee0a30f6b87d6decc0ca29e43d38e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %llvmgcc -S %s -o - | llvm-as -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() {}