Add a requires for the arm-registered-target needed by this test as

well.

llvm-svn: 208722
This commit is contained in:
Eric Christopher 2014-05-13 19:52:18 +00:00
parent 9541307c27
commit 4d7f2108e4
1 changed files with 3 additions and 2 deletions

View File

@ -2,11 +2,12 @@
// RUN: %clang -target i386-unknown-linux -masm=intel %s -S -o - | FileCheck --check-prefix=CHECK-INTEL %s
// RUN: %clang -target i386-unknown-linux -masm=att %s -S -o - | FileCheck --check-prefix=CHECK-ATT %s
// RUN: not %clang -target i386-unknown-linux -masm=somerequired %s -S -o - 2>&1 | FileCheck --check-prefix=CHECK-SOMEREQUIRED %s
// REQUIRES: arm-registered-target
// RUN: %clang -target arm-unknown-eabi -masm=intel %s -S -o - 2>&1 | FileCheck --check-prefix=CHECK-ARM %s
int f() {
// CHECK-ATT: movl $0, %eax
// CHECK-INTEL: mov eax, 0
// CHECK-ATT: movl $0, %eax
// CHECK-INTEL: mov eax, 0
// CHECK-SOMEREQUIRED: error: unsupported argument 'somerequired' to option 'masm='
// CHECK-ARM: warning: argument unused during compilation: '-masm=intel'
return 0;