1 // RUN: %clang_cc1 -fsyntax-only -fblocks -verify %s
6 [[clang::external_source_symbol(language
="Swift", defined_in
="module", USR
="test", generated_declaration
)]]
7 void testExternalSourceSymbol();
9 // expected-error@+1 {{expected string literal for USR in 'external_source_symbol' attribute}}
10 [[clang::external_source_symbol(language
="Swift", defined_in
="module", USR
=T
, generated_declaration
)]]
11 void testExternalSourceSymbol2();
15 void Class
<T
>::testExternalSourceSymbol() {