1 // RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep extern_weak
3 // TODO: Enable this when darwin gets weak support:
4 // : %llvmgcc -O3 -S -o - -emit-llvm | llvm-as | llc
7 void foo() __attribute__((weak_import));
9 void foo() __attribute__((weak));