Regression test for PR 80


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9643 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CFrontend/2003-11-01-EmptyStructCrash.c b/test/CFrontend/2003-11-01-EmptyStructCrash.c
new file mode 100644
index 0000000..d65b328
--- /dev/null
+++ b/test/CFrontend/2003-11-01-EmptyStructCrash.c
@@ -0,0 +1,4 @@
+typedef struct { } the_coolest_struct_in_the_world;
+extern the_coolest_struct_in_the_world xyzzy;
+void *foo() { return &xyzzy; }
+