diff options
Diffstat (limited to 'clang/test/Parser/attr-external-source-symbol-cxx11.cpp')
-rw-r--r-- | clang/test/Parser/attr-external-source-symbol-cxx11.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Parser/attr-external-source-symbol-cxx11.cpp b/clang/test/Parser/attr-external-source-symbol-cxx11.cpp new file mode 100644 index 00000000000..3457c6a8f43 --- /dev/null +++ b/clang/test/Parser/attr-external-source-symbol-cxx11.cpp @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s +// expected-no-diagnostics + +[[clang::external_source_symbol(language="Swift", defined_in="module")]] +void function() { } |