summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/mangle35.C
blob: 78d993344880754dd61b303e186e96cbf6d7b00a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/38600
// { dg-final { scan-assembler "_Z3barIiE1AIX3fooIT_EEEv" } }

template<void (*)()> struct A {};

template<typename> void foo();

template<typename T> A<foo<T> > bar();

void baz()
{
  bar<int>();
}