blob: 537dec50e97c7eb16bf63e82ae5a01170e72f754 [file] [log] [blame]
// { 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 {}