summaryrefslogtreecommitdiff
path: root/test/CodeGen/arm-asm-diag.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/arm-asm-diag.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/arm-asm-diag.c')
-rw-r--r--test/CodeGen/arm-asm-diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/arm-asm-diag.c b/test/CodeGen/arm-asm-diag.c
index 925de46c80..944a271e6c 100644
--- a/test/CodeGen/arm-asm-diag.c
+++ b/test/CodeGen/arm-asm-diag.c
@@ -1,5 +1,5 @@
// REQUIRES: arm-registered-target
-// RUN: not %clang_cc1 -triple armv7 %s -S -o /dev/null 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 -triple armv7 -target-feature +neon %s -S -o /dev/null 2>&1 | FileCheck %s
// rdar://13446483
typedef __attribute__((neon_vector_type(2))) long long int64x2_t;