From b574e5630d66629ccc8f2432e60b59ae42f1f363 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 30 Jan 2009 22:26:29 +0000 Subject: Upgrade the "excess elements in array initializer" warning to an error, since both C99 and C++ consider it an error. For reference, GCC makes this a warning while G++ makes it an error. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63435 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/trunc-array-initializer.c | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 test/CodeGen/trunc-array-initializer.c (limited to 'test/CodeGen/trunc-array-initializer.c') diff --git a/test/CodeGen/trunc-array-initializer.c b/test/CodeGen/trunc-array-initializer.c deleted file mode 100644 index f397657f8f..0000000000 --- a/test/CodeGen/trunc-array-initializer.c +++ /dev/null @@ -1,3 +0,0 @@ -// RUN: clang -emit-llvm %s -o %t - -int ary[2] = { 1, 2, 3 }; -- cgit v1.2.3-18-g5258