diff options
Diffstat (limited to 'test/SemaCXX/pragma-weak.cpp')
-rw-r--r-- | test/SemaCXX/pragma-weak.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/SemaCXX/pragma-weak.cpp b/test/SemaCXX/pragma-weak.cpp new file mode 100644 index 0000000..057cf6b --- /dev/null +++ b/test/SemaCXX/pragma-weak.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 %s + +#pragma weak foo +static void foo(); +extern "C" { + void foo() { + }; +} |