summaryrefslogtreecommitdiff
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.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/section.ll b/test/CodeGen/ARM/section.ll
new file mode 100644
index 0000000000000..aa658451675bc
--- /dev/null
+++ b/test/CodeGen/ARM/section.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc -mtriple=arm-linux | \
+; RUN: grep {__DTOR_END__:}
+; RUN: llvm-as < %s | llc -mtriple=arm-linux | \
+; RUN: grep {\\.section.\\.dtors,"aw",.progbits}
+
+@__DTOR_END__ = internal global [1 x i32] zeroinitializer, section ".dtors" ; <[1 x i32]*> [#uses=0]
+