From 07b976bb9e32ba2f08ae050fe3ce22014f687aa0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 Feb 2004 02:19:08 +0000 Subject: [PATCH] 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 --- test/CFrontend/2004-02-14-ZeroInitializer.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/CFrontend/2004-02-14-ZeroInitializer.c diff --git a/test/CFrontend/2004-02-14-ZeroInitializer.c b/test/CFrontend/2004-02-14-ZeroInitializer.c new file mode 100644 index 00000000000..bede9078741 --- /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]; +