summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/include.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/include.ll')
-rw-r--r--test/MC/AsmParser/include.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MC/AsmParser/include.ll b/test/MC/AsmParser/include.ll
new file mode 100644
index 000000000000..390041ff3300
--- /dev/null
+++ b/test/MC/AsmParser/include.ll
@@ -0,0 +1,13 @@
+; RUN: llc -I %p/Inputs -filetype asm -o - %s | FileCheck %s
+
+module asm ".include \22module.x\22"
+
+define arm_aapcscc void @f() {
+entry:
+ call void asm sideeffect ".include \22function.x\22", ""()
+ ret void
+}
+
+; CHECK: MODULE = 1
+; CHECK: FUNCTION = 1
+