llvm-for-llvmta/tools/clang/test/CodeGen/2003-11-01-EmptyStructCrash.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

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