summaryrefslogtreecommitdiff
path: root/test/MC/Mips/set-mips16-directive.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Mips/set-mips16-directive.s')
-rw-r--r--test/MC/Mips/set-mips16-directive.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Mips/set-mips16-directive.s b/test/MC/Mips/set-mips16-directive.s
new file mode 100644
index 000000000000..cf8090eaa280
--- /dev/null
+++ b/test/MC/Mips/set-mips16-directive.s
@@ -0,0 +1,10 @@
+# RUN: llvm-mc %s -arch=mips | FileCheck %s
+# FIXME: Update this test when we have a more mature implementation of Mips16 in the IAS.
+
+.text
+.set mips16
+.set nomips16
+
+# CHECK: .text
+# CHECK: .set mips16
+# CHECK: .set nomips16