brintos

brintos / llvm-project-archived public Read only

0
0
Text · 403 B · 316c3c8 Raw
10 lines · plain
1; RUN: not llvm-link %s %p/Inputs/appending-global.ll -S -o - 2>&1 | FileCheck %s2; RUN: not llvm-link %p/Inputs/appending-global.ll %s -S -o - 2>&1 | FileCheck %s3 4; Negative test to check that global variables with appending linkage and5; different visibility cannot be linked.6 7; CHECK: Appending variables with different visibility need to be linked8 9@var = appending hidden global [1 x ptr ] undef10