summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/alias-mangle.C
blob: a7706e996d020704f4a96d62907c1b2f1fea8543 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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;