aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/array-init.c
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-09-12 10:45:40 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-09-12 10:45:40 +0000
commitb774d73540ba62a5e6a8e9217b320b27a946cfad (patch)
treea6302c478fa24fd6a089ea76fc3ee4d9d8db0d9c /test/Sema/array-init.c
parent4d59422415cb94b6034c5489ebbc7aa57193068d (diff)
clang/test: [PR8833] Introduce the feature "LP64" to suppress LLP64-incompatible tests.
I think some of them could be rewritten to fit also LLP64. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/array-init.c')
-rw-r--r--test/Sema/array-init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Sema/array-init.c b/test/Sema/array-init.c
index cfdf8e2bd7..ad0fc708d7 100644
--- a/test/Sema/array-init.c
+++ b/test/Sema/array-init.c
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
+// REQUIRES: LP64
extern int foof() = 1; // expected-error{{illegal initializer (only variables can be initialized)}}