1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
4 %struct.foobar = type { i32 }
6 @bar.d = internal unnamed_addr constant %struct.foobar zeroinitializer, align 4
7 @foo.d = internal constant %struct.foobar zeroinitializer, align 4
9 define i32 @main() unnamed_addr nounwind ssp {
11 %call2 = tail call i32 @zed(%struct.foobar* @foo.d, %struct.foobar* @bar.d) nounwind
15 declare i32 @zed(%struct.foobar*, %struct.foobar*)
17 ; CHECK: @bar.d = internal unnamed_addr constant %struct.foobar zeroinitializer, align 4
18 ; CHECK: @foo.d = internal constant %struct.foobar zeroinitializer, align 4
19 ; CHECK: define i32 @main() unnamed_addr #0 {
21 ; CHECK: attributes #0 = { nounwind ssp }