3 // { dg-options "-pedantic -Wno-extra-semi" }
6 [[]] [[]] [[]]; // { dg-warning "attributes only available with" "" { target c++98_only } }
7 [[foobar]]; // { dg-warning "attribute ignored" }
8 // { dg-warning "attributes only available with" "" { target c++98_only } .-1 }
11 extern "C" [[]]; // { dg-warning "attributes only available with" "" { target c++98_only } }
12 extern "C" extern "C" ;
13 extern "C" extern "C" [[]][[]][[]]; // { dg-warning "attributes only available with" "" { target c++98_only } }
16 __extension__ __extension__ ;
17 __extension__ __extension__ [[]][[]];
22 [[]] [[]] [[]]; // { dg-warning "attributes only available with" "" { target c++98_only } }
23 [[foobar]]; // { dg-warning "attribute ignored" }
24 // { dg-warning "attributes only available with" "" { target c++98_only } .-1 }
27 extern "C" [[]]; // { dg-warning "attributes only available with" "" { target c++98_only } }
28 extern "C" extern "C" ;
29 extern "C" extern "C" [[]][[]][[]]; // { dg-warning "attributes only available with" "" { target c++98_only } }
32 __extension__ __extension__ ;
33 __extension__ __extension__ [[]][[]];