Debian Codegraph @

gcc/testsuite/g++.dg/ext/alias-mangle.C

raw
1 // PR c++/34936
2 // { dg-do compile }
3 /* { dg-final { scan-assembler "_ZN1AIdEC1Ev" } } */
4 typedef double X __attribute((may_alias)) ;
5
6 template<typename> struct A
7 {
8 A();
9 };
10
11 A<X> a; // { dg-warning "ignoring attributes on template argument" }