aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/struct-init.c
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-07-09 18:34:21 +0000
committerJim Grosbach <grosbach@apple.com>2012-07-09 18:34:21 +0000
commitf79470583759d20c20268711e6111461aefa8461 (patch)
tree051ebd4e10d734634e720f9df563953853ae93a1 /test/CodeGen/struct-init.c
parentd57aa886f06215da3a1bffecf6bfb7ad92075e80 (diff)
Tests: check for target availability for target-specific tests.
Lots of tests are using an explicit target triple w/o first checking that the target is actually available. Add a REQUIRES clause to a bunch of them. This should hopefully unbreak bots which don't configure w/ all targets enabled. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct-init.c')
-rw-r--r--test/CodeGen/struct-init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/struct-init.c b/test/CodeGen/struct-init.c
index 6247729c17..5273138e4e 100644
--- a/test/CodeGen/struct-init.c
+++ b/test/CodeGen/struct-init.c
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -S -triple armv7-apple-darwin %s -emit-llvm -o - | FileCheck %s
typedef struct _zend_ini_entry zend_ini_entry;