android_mt6572_jiabo/external/clang/test/SemaCXX/pragma-weak.cpp
2025-09-05 16:56:03 +08:00

11 lines
141 B
C++

// RUN: %clang_cc1 %s
#pragma weak foo
static void foo();
extern "C" {
void foo() {
};
}
extern "C" int Test;
#pragma weak test = Test