mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-14 08:31:28 -04:00
12 lines
141 B
C++
12 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
|