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