aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/2003-11-01-EmptyStructCrash.c
blob: e0f231af5994cb1808c208cb209e8cb627d640f3 (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

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