summaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/directive-object_arch-3.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/directive-object_arch-3.s')
-rw-r--r--test/MC/ARM/directive-object_arch-3.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/ARM/directive-object_arch-3.s b/test/MC/ARM/directive-object_arch-3.s
new file mode 100644
index 0000000..5dd2619
--- /dev/null
+++ b/test/MC/ARM/directive-object_arch-3.s
@@ -0,0 +1,11 @@
+@ RUN: llvm-mc -triple armv7-eabi -filetype asm -o - %s | FileCheck %s
+
+ .syntax unified
+
+ .arch armv7
+ .object_arch armv4
+
+@ CHECK: .text
+@ CHECK: .arch armv7
+@ CHECK: .object_arch armv4
+