aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/section.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/section.ll')
-rw-r--r--test/CodeGen/ARM/section.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/section.ll b/test/CodeGen/ARM/section.ll
new file mode 100644
index 0000000..fcb86c5
--- /dev/null
+++ b/test/CodeGen/ARM/section.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux | \
+; RUN: grep {__DTOR_END__:}
+; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux | \
+; RUN: grep {.section .dtors,"aw",.progbits}
+
+%__DTOR_END__ = internal global [1 x int] zeroinitializer, section ".dtors"