summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/mangle12.C
blob: 3910cfc93ebf2155768b7d09972b318de1cdb9d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options "-Wabi -fabi-version=1" }

template <template <typename> class Q>
void f (typename Q<int>::X) {} // { dg-warning "mangle" }

template <typename Q>
struct S {
  typedef int X;
};

template void f<S> (int);  // { dg-message "instantiated" }