1// RUN: %clang_cc1 %s 2 3#pragma weak foo 4static void foo(); 5extern "C" { 6 void foo() { 7 }; 8} 9 10extern "C" int Test; 11#pragma weak test = Test 12