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