brintos

brintos / llvm-project-archived public Read only

0
0
Text · 554 B · 96a606f Raw
26 lines · c
1// RUN: %clang_cc1 -triple x86_64-darwin-apple -emit-llvm -o - %s | FileCheck %s2 3extern int A __attribute__((weak_import));4int A;5 6extern int B __attribute__((weak_import));7extern int B;8 9int C;10extern int C __attribute__((weak_import));11 12extern int D __attribute__((weak_import));13extern int D __attribute__((weak_import));14int D;15 16extern int E __attribute__((weak_import));17int E;18extern int E __attribute__((weak_import));19 20// CHECK: @A = global i3221// CHECK-NOT: @B =22// CHECK: @C = global i3223// CHECK: @D = global i3224// CHECK: @E = global i3225 26