summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/section.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2006-12-07 18:33:58 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2006-12-07 18:33:58 +0000
commit7367d05cb713d11f8ac1e0815ac6b2eb6b17088c (patch)
treef79d9bcd73180ec31ac57f0135036e868ba4dc1e /test/CodeGen/ARM/section.ll
parente77242c3d5843a5a6484794254623c8552dc6a4f (diff)
downloadllvm-7367d05cb713d11f8ac1e0815ac6b2eb6b17088c.tar.gz
llvm-7367d05cb713d11f8ac1e0815ac6b2eb6b17088c.tar.bz2
llvm-7367d05cb713d11f8ac1e0815ac6b2eb6b17088c.tar.xz
make sure that we don't use a common symbol if a section was specified
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32310 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/section.ll')
-rw-r--r--test/CodeGen/ARM/section.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/section.ll b/test/CodeGen/ARM/section.ll
new file mode 100644
index 0000000000..cd33c12f41
--- /dev/null
+++ b/test/CodeGen/ARM/section.ll
@@ -0,0 +1,4 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "__DTOR_END__:"
+
+%__DTOR_END__ = internal global [1 x int] zeroinitializer, section ".dtors"