1// RUN: %clang_cc1 %s2 3#pragma weak foo4static void foo();5extern "C" {6 void foo() {7 };8}9 10extern "C" int Test;11#pragma weak test = Test12