aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/COFF/early-dce.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/COFF/early-dce.s')
-rw-r--r--test/MC/COFF/early-dce.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/COFF/early-dce.s b/test/MC/COFF/early-dce.s
new file mode 100644
index 0000000..ec1a9bd
--- /dev/null
+++ b/test/MC/COFF/early-dce.s
@@ -0,0 +1,16 @@
+# RUN: llvm-mc -triple i686-windows -g -filetype obj -o - %s \
+# RUN: | llvm-readobj -s -t | FileCheck %s
+
+ .section .rdata
+
+ .align 8
+ .global data
+data:
+ .quad 0
+
+# CHECK: Sections [
+# CHECK: Section {
+# CHECK: Name: .text
+# CHECK: }
+# CHECK: ]
+