// expected-error@-3 {{editor placeholder in source file}}
// expected-error@-3 {{editor placeholder in source file}}
#endif
};
typename<#typename#>::<#name#>;
decltype(<#expression#>)foobar;
typedef<#type#><#name#>;
#ifndef SUPPRESS
// expected-error@-4 2 {{editor placeholder in source file}}
// expected-error@-4 {{editor placeholder in source file}}
// expected-error@-4 2 {{editor placeholder in source file}}
#endif
namespace<#identifier#>{
<#declarations#>
#ifndef SUPPRESS
// expected-error@-3 {{editor placeholder in source file}}
// expected-error@-3 {{editor placeholder in source file}}
#endif
}
using<#qualifier#>::<#name#>;
#ifndef SUPPRESS
// expected-error@-2 2 {{editor placeholder in source file}}
#endif
voidavoidPlaceholderErrors(Struct&obj){
static_cast<<#type#>>(<#expression#>);
while(<#condition#>){
<#statements#>
}
obj.method(<#Struct&x#>);
#ifndef SUPPRESS
// expected-error@-6 2 {{editor placeholder in source file}}
// expected-error@-6 {{editor placeholder in source file}}
// expected-error@-6 {{editor placeholder in source file}}
// expected-error@-5 {{editor placeholder in source file}}
#endif
switch(<#expression#>){
case<#constant#>:
<#statements#>
#ifndef SUPPRESS
// expected-error@-4 {{editor placeholder in source file}}
// expected-error@-4 {{editor placeholder in source file}}
// expected-error@-4 {{editor placeholder in source file}}
#endif
break;
default:
break;
}
}
voidStruct::method(<#Struct&x#>,noSupressionHere){// expected-error {{unknown type name 'noSupressionHere'}} expected-error {{C++ requires a type specifier for all declarations}}
#ifndef SUPPRESS
// expected-error@-2 {{editor placeholder in source file}}