aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-14 18:42:24 +0000
committerChris Lattner <sabre@nondot.org>2009-07-14 18:42:24 +0000
commit65e4b56af0165df1f5646351df9c78fb7e665b7c (patch)
tree5638a52bebf645410743cdff37508fbe8b2f3f52 /test
parent7642ba0d8ae40413bf2e0968826d560d43f7eb30 (diff)
downloadexternal_llvm-65e4b56af0165df1f5646351df9c78fb7e665b7c.zip
external_llvm-65e4b56af0165df1f5646351df9c78fb7e665b7c.tar.gz
external_llvm-65e4b56af0165df1f5646351df9c78fb7e665b7c.tar.bz2
Testcase for PR4556
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/FrontendC/2009-07-14-VoidPtr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/FrontendC/2009-07-14-VoidPtr.c b/test/FrontendC/2009-07-14-VoidPtr.c
new file mode 100644
index 0000000..8001c56
--- /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;
+