diff options
Diffstat (limited to 'test/MC/AsmParser')
-rw-r--r-- | test/MC/AsmParser/Inputs/function.x | 3 | ||||
-rw-r--r-- | test/MC/AsmParser/Inputs/module.x | 3 | ||||
-rw-r--r-- | test/MC/AsmParser/include.ll | 13 |
3 files changed, 19 insertions, 0 deletions
diff --git a/test/MC/AsmParser/Inputs/function.x b/test/MC/AsmParser/Inputs/function.x new file mode 100644 index 000000000000..582bfdfa6271 --- /dev/null +++ b/test/MC/AsmParser/Inputs/function.x @@ -0,0 +1,3 @@ + +FUNCTION = 1 + diff --git a/test/MC/AsmParser/Inputs/module.x b/test/MC/AsmParser/Inputs/module.x new file mode 100644 index 000000000000..e93c615ef145 --- /dev/null +++ b/test/MC/AsmParser/Inputs/module.x @@ -0,0 +1,3 @@ + +MODULE = 1 + 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 + |