llvm-mirror/test/CFrontend/2003-11-01-EmptyStructCrash.c
2007-01-17 07:59:14 +00:00

7 lines
185 B
C

// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
typedef struct { } the_coolest_struct_in_the_world;
extern the_coolest_struct_in_the_world xyzzy;
void *foo() { return &xyzzy; }