aboutsummaryrefslogtreecommitdiff
path: root/test/MC/COFF/eh-frame.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/COFF/eh-frame.s')
-rw-r--r--test/MC/COFF/eh-frame.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/COFF/eh-frame.s b/test/MC/COFF/eh-frame.s
new file mode 100644
index 000000000000..e606b764d647
--- /dev/null
+++ b/test/MC/COFF/eh-frame.s
@@ -0,0 +1,14 @@
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj -s | FileCheck %s
+
+ .def _main;
+ .scl 2;
+ .type 32;
+ .endef
+ .text
+ .globl _main
+_main:
+ .cfi_startproc
+ ret
+ .cfi_endproc
+
+// CHECK: Name: .eh_frame