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

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

struct S {
  typedef int X;
};

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