voidfourClauses()__attribute__((external_source_symbol(language="Swift",defined_in="module",generated_declaration,generated_declaration)));// expected-error {{duplicate 'generated_declaration' clause in an 'external_source_symbol' attribute}}
__attribute__((external_source_symbol));// expected-error {{'external_source_symbol' attribute takes at least 1 argument}}
voidnamedDeclsOnly(){
int(^block)(void)=^(void)
__attribute__((external_source_symbol(language="Swift"))){// expected-warning {{'external_source_symbol' attribute only applies to named declarations}}
[[clang::external_source_symbol(language="Swift",defined_in="module",generated_declaration,generated_declaration)]];// expected-error {{duplicate 'generated_declaration' clause in an 'external_source_symbol' attribute}}