llvm-project/clang/test/CodeGen/2003-11-01-EmptyStructCrash.c

7 lines
182 B
C

// 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(void) { return &xyzzy; }