xref: /minix3/external/bsd/llvm/dist/clang/test/SemaCXX/pragma-weak.cpp (revision 3ac58492b3d3709bad0ae9c60a137f63a90960b7)
1 // RUN: %clang_cc1 %s
2 
3 #pragma weak foo
4 static void foo();
5 extern "C" {
6   void foo() {
7   };
8 }
9 
10 extern "C" int Test;
11 #pragma weak test = Test
12