aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2003-11-01-EmptyStructCrash.c
blob: c1161195dafc17ac75b2f56d1096aaa934703f0a (plain)
1
2
3
4
5
6
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null

typedef struct { } the_coolest_struct_in_the_world;
extern the_coolest_struct_in_the_world xyzzy;
void *foo() { return &xyzzy; }