aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/AArch64/mature-mc-support.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AArch64/mature-mc-support.ll')
-rw-r--r--test/CodeGen/AArch64/mature-mc-support.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/AArch64/mature-mc-support.ll b/test/CodeGen/AArch64/mature-mc-support.ll
new file mode 100644
index 0000000..06e3cc7
--- /dev/null
+++ b/test/CodeGen/AArch64/mature-mc-support.ll
@@ -0,0 +1,12 @@
+; Test that inline assembly is parsed by the MC layer when MC support is mature
+; (even when the output is assembly).
+
+; RUN: not llc -mtriple=aarch64-pc-linux < %s > /dev/null 2> %t1
+; RUN: FileCheck %s < %t1
+
+; RUN: not llc -mtriple=aarch64-pc-linux -filetype=obj < %s > /dev/null 2> %t2
+; RUN: FileCheck %s < %t2
+
+module asm " .this_directive_is_very_unlikely_to_exist"
+
+; CHECK: LLVM ERROR: Error parsing inline asm