summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-15 02:19:08 +0000
committerChris Lattner <sabre@nondot.org>2004-02-15 02:19:08 +0000
commit07b976bb9e32ba2f08ae050fe3ce22014f687aa0 (patch)
tree9e3192d5ab70bf53324b19420505766ca5ce084f
parent8710da3c58ce68daef5f417e741568d6639665e9 (diff)
downloadexternal_llvm-07b976bb9e32ba2f08ae050fe3ce22014f687aa0.zip
external_llvm-07b976bb9e32ba2f08ae050fe3ce22014f687aa0.tar.gz
external_llvm-07b976bb9e32ba2f08ae050fe3ce22014f687aa0.tar.bz2
Testcase for PR205: [llvmgcc] C front-end does not emit 'zeroinitializer' when possible
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11461 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CFrontend/2004-02-14-ZeroInitializer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CFrontend/2004-02-14-ZeroInitializer.c b/test/CFrontend/2004-02-14-ZeroInitializer.c
new file mode 100644
index 0000000..bede907
--- /dev/null
+++ b/test/CFrontend/2004-02-14-ZeroInitializer.c
@@ -0,0 +1,4 @@
+// RUN: %llvmgcc -xc %s -S -o - | grep zeroinitializer
+
+int X[1000];
+