blob: d804c1a8805bda294fcbc5c29b1eafbe995f1bb3 [file] [log] [blame]
// PR c++/34936
// { dg-do compile }
/* { dg-final { scan-assembler "_ZN1AIdEC1Ev" } } */
typedef double X __attribute((may_alias)) ;
template<typename> struct A
{
A();
};
A<X> a; // { dg-warning "ignoring attributes on template argument" }