• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2
3@g1 = global i32 7 "key" = "value" "key2" = "value2"
4@g2 = global i32 2, align 4 "key3" = "value3"
5@g3 = global i32 2 #0
6@g4 = global i32 2, align 4 "key5" = "value5" #0
7
8attributes #0 = { "string" = "value" nobuiltin norecurse }
9
10; CHECK: @g1 = global i32 7 #0
11; CHECK: @g2 = global i32 2, align 4 #1
12; CHECK: @g3 = global i32 2 #2
13; CHECK: @g4 = global i32 2, align 4 #3
14
15; CHECK: attributes #0 = { "key"="value" "key2"="value2" }
16; CHECK: attributes #1 = { "key3"="value3" }
17; CHECK: attributes #2 = { nobuiltin norecurse "string"="value" }
18; CHECK: attributes #3 = { nobuiltin norecurse "key5"="value5" "string"="value" }
19
20