15 lines · plain
1; RUN: llvm-link %s %p/Inputs/linkage2.ll -S | FileCheck %s2; RUN: llvm-link %p/Inputs/linkage2.ll %s -S | FileCheck %s3 4@test1_a = common global i8 05; CHECK-DAG: @test1_a = common global i8 06 7@test2_a = global i8 08; CHECK-DAG: @test2_a = global i8 09 10@test3_a = common global i8 011; CHECK-DAG: @test3_a = common global i16 012 13@test4_a = common global i8 0, align 814; CHECK-DAG: @test4_a = common global i16 0, align 815