summaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2003-11-01-EmptyStructCrash.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CFrontend/2003-11-01-EmptyStructCrash.c')
-rw-r--r--test/CFrontend/2003-11-01-EmptyStructCrash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CFrontend/2003-11-01-EmptyStructCrash.c b/test/CFrontend/2003-11-01-EmptyStructCrash.c
index d65b328..fb6993b 100644
--- a/test/CFrontend/2003-11-01-EmptyStructCrash.c
+++ b/test/CFrontend/2003-11-01-EmptyStructCrash.c
@@ -1,3 +1,5 @@
+// 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; }