Debian Codegraph @

gcc/testsuite/g++.dg/abi/abi-tag12.C

raw
1 // { dg-options "-Wabi-tag" }
2
3 inline namespace A __attribute ((abi_tag)) {
4 struct Foo { }; // { dg-message "declared here" }
5 struct Baz: Foo { };
6 }
7
8 struct Bar: Foo { }; // { dg-warning "tag" }