summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/cfi-window-save.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/cfi-window-save.s')
-rw-r--r--test/MC/AsmParser/cfi-window-save.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/MC/AsmParser/cfi-window-save.s b/test/MC/AsmParser/cfi-window-save.s
new file mode 100644
index 0000000000000..c309436c788f6
--- /dev/null
+++ b/test/MC/AsmParser/cfi-window-save.s
@@ -0,0 +1,15 @@
+# RUN: llvm-mc -filetype=asm -triple x86_64-pc-linux-gnu <%s | FileCheck %s
+
+# Should use SPARC as the target to test this. However, SPARC does not support
+# asm parsing yet.
+
+# CHECK: .cfi_window_save
+
+
+f:
+ .cfi_startproc
+ nop
+ .cfi_window_save
+ nop
+ .cfi_endproc
+