From 987c69b426f6273f2c3f47a0de5c0cfeb272892e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 14 Jul 2009 18:42:24 +0000 Subject: [PATCH] Testcase for PR4556 llvm-svn: 75655 --- test/FrontendC/2009-07-14-VoidPtr.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/FrontendC/2009-07-14-VoidPtr.c diff --git a/test/FrontendC/2009-07-14-VoidPtr.c b/test/FrontendC/2009-07-14-VoidPtr.c new file mode 100644 index 00000000000..8001c56ad52 --- /dev/null +++ b/test/FrontendC/2009-07-14-VoidPtr.c @@ -0,0 +1,6 @@ +// RUN: %llvmgcc -S %s -o - +// PR4556 + +extern void foo; +void *bar = &foo; +