]> granicus.if.org Git - clang/commitdiff
Add a requires for the arm-registered-target needed by this test as
authorEric Christopher <echristo@gmail.com>
Tue, 13 May 2014 19:52:18 +0000 (19:52 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 13 May 2014 19:52:18 +0000 (19:52 +0000)
well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208722 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/masm.c

index dc2466234f3e30bd22140eef4cb1eb606e9bf273..f3aea47c08d56a01db2e33f8c308074035c34ffc 100644 (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;