test: add test case for SVN r210406

Add missing test case for constructor section selection.  Thanks David Blaikie!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210409 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Saleem Abdulrasool 2014-06-08 01:27:32 +00:00
parent e231836fe4
commit e668525dd1

View File

@ -0,0 +1,12 @@
; RUN: llc -mtriple thumbv7-windows-itanium -o - %s | FileCheck %s
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @function, i8* null }]
define arm_aapcs_vfpcc void @function() {
entry:
ret void
}
; CHECK: .section .CRT$XCU,"rd"
; CHECK: .long function