blob: 17f23fe349382e3f554237b7caadf56bd79471af (
plain)
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>();
}
|