aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/trunc-array-initializer.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-01-30 22:26:29 +0000
committerDouglas Gregor <dgregor@apple.com>2009-01-30 22:26:29 +0000
commitb574e5630d66629ccc8f2432e60b59ae42f1f363 (patch)
tree57abe70449a27cb6189ca5e4fbc3c35ceb60c1f4 /test/CodeGen/trunc-array-initializer.c
parent930d8b5ecc074cca01ecd9a522a55f55f3b72396 (diff)
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
Diffstat (limited to 'test/CodeGen/trunc-array-initializer.c')
-rw-r--r--test/CodeGen/trunc-array-initializer.c3
1 files changed, 0 insertions, 3 deletions
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 };