bolt/deps/llvm-18.1.8/clang/test/SemaCXX/pragma-weak.cpp

12 lines
141 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 %s
#pragma weak foo
static void foo();
extern "C" {
void foo() {
};
}
extern "C" int Test;
#pragma weak test = Test