1 2 3 4 5 6 7 8 9 10 11 12
// Don't crash on an unknown attribute. struct foo { template <class T> void __attribute__((leafify)) bar() {} // { dg-warning "ignored" } }; void bar(void) { foo f; f.bar<int>(); }