From e5245894878c55784af761262ac0f69d657180be Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 1 Nov 2003 23:42:08 +0000 Subject: [PATCH] Regression test for PR 80 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9643 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2003-11-01-EmptyStructCrash.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/CFrontend/2003-11-01-EmptyStructCrash.c diff --git a/test/CFrontend/2003-11-01-EmptyStructCrash.c b/test/CFrontend/2003-11-01-EmptyStructCrash.c new file mode 100644 index 00000000000..d65b3280f0d --- /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; } + -- 2.34.1