summaryrefslogtreecommitdiff
path: root/test/CodeGen/struct-init.c
diff options
context:
space:
mode:
authorAmara Emerson <amara.emerson@arm.com>2013-09-16 18:07:35 +0000
committerAmara Emerson <amara.emerson@arm.com>2013-09-16 18:07:35 +0000
commit2440fb1f91557912f8c43cb72201170254ae09f4 (patch)
tree2931a67ffcb23b8b503ecafc95ba2c3ced4bc4c3 /test/CodeGen/struct-init.c
parent30845189af590de0af68ad9c7c47dd789ee28df2 (diff)
downloadclang-2440fb1f91557912f8c43cb72201170254ae09f4.tar.gz
Add error checking to reject neon_vector_type attribute on targets without NEON.
Patch by Artyom Skrobov. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct-init.c')
-rw-r--r--test/CodeGen/struct-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/struct-init.c b/test/CodeGen/struct-init.c
index 5273138e4e..30834acec7 100644
--- a/test/CodeGen/struct-init.c
+++ b/test/CodeGen/struct-init.c
@@ -1,5 +1,5 @@
// REQUIRES: arm-registered-target
-// RUN: %clang_cc1 -S -triple armv7-apple-darwin %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -S -triple armv7-apple-darwin -target-feature +neon %s -emit-llvm -o - | FileCheck %s
typedef struct _zend_ini_entry zend_ini_entry;
struct _zend_ini_entry {