1 2 3 4 5 6 7 8
// { dg-options "-Wabi-tag" } struct __attribute ((abi_tag ("X"))) A { }; struct B // { dg-warning "abi tag" } { virtual void f(A); // { dg-message "declared here" } };