diff options
author | Stephen Hines <srhines@google.com> | 2014-04-23 16:57:46 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2014-04-24 15:53:16 -0700 |
commit | 36b56886974eae4f9c5ebc96befd3e7bfe5de338 (patch) | |
tree | e6cfb69fbbd937f450eeb83bfb83b9da3b01275a /test/MC/MachO/ARM/bad-darwin-directives.s | |
parent | 69a8640022b04415ae9fac62f8ab090601d8f889 (diff) | |
download | external_llvm-36b56886974eae4f9c5ebc96befd3e7bfe5de338.zip external_llvm-36b56886974eae4f9c5ebc96befd3e7bfe5de338.tar.gz external_llvm-36b56886974eae4f9c5ebc96befd3e7bfe5de338.tar.bz2 |
Update to LLVM 3.5a.
Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
Diffstat (limited to 'test/MC/MachO/ARM/bad-darwin-directives.s')
-rw-r--r-- | test/MC/MachO/ARM/bad-darwin-directives.s | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/MC/MachO/ARM/bad-darwin-directives.s b/test/MC/MachO/ARM/bad-darwin-directives.s new file mode 100644 index 0000000..0499e40 --- /dev/null +++ b/test/MC/MachO/ARM/bad-darwin-directives.s @@ -0,0 +1,24 @@ +@ RUN: not llvm-mc -n -triple armv7-apple-darwin10 %s -filetype=obj -o - 2> %t.err > %t +@ RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s +@ rdar://16335232 + +.eabi_attribute 8, 1 +@ CHECK-ERROR: error: .eabi_attribute directive not valid for Mach-O + +.cpu +@ CHECK-ERROR: error: .cpu directive not valid for Mach-O + +.fpu neon +@ CHECK-ERROR: error: .fpu directive not valid for Mach-O + +.arch armv7 +@ CHECK-ERROR: error: .arch directive not valid for Mach-O + +.fnstart +@ CHECK-ERROR: error: .fnstart directive not valid for Mach-O + +.tlsdescseq +@ CHECK-ERROR: error: .tlsdescseq directive not valid for Mach-O + +.object_arch armv7 +@ CHECK-ERROR: error: .object_arch directive not valid for Mach-O |