llvm-6502/test/FrontendC/2002-01-24-ComplexSpaceInType.c

12 lines
289 B
C
Raw Normal View History

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