Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/gen-attrs-90.C

raw
1 // PR c++/123684
2 // { dg-do compile { target c++11 } }
3
4 inline namespace [[foo::abi_tag (1, 2, 3)]] A {} // { dg-warning "'abi_tag' attribute directive ignored" }
5 inline namespace [[foo::visibility (1, 2, 3)]] B {} // { dg-warning "'visibility' attribute directive ignored" }
6 inline namespace [[foo::deprecated (1, 2, 3)]] C {} // { dg-warning "'deprecated' attribute directive ignored" }
7 inline namespace [[abi_tag (1, 2, 3)]] D {} // { dg-warning "'abi_tag' attribute directive ignored" }
8 inline namespace [[visibility (1, 2, 3)]] E {} // { dg-warning "'visibility' attribute directive ignored" }