aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/2002-01-24-ComplexSpaceInType.c
blob: 9af533dfa414adae25aa377d1e4e98200fc008fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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() {}