blob: 537dec50e97c7eb16bf63e82ae5a01170e72f754 (
plain)
1
2
3
4
5
6
7
8
9
|
// { dg-do compile { target c++11 } }
// PR c++/35074
template<typename T> struct A
{
void foo() const;
} [[gnu::aligned(4)]]; // { dg-warning "ignored" }
template<typename T> void A<T>::foo() const {}
|