Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / abi / mangle17.C
blob57f1a045c826128d29077ac744222b8baacd7df3
1 // { dg-options "-Wabi -fabi-version=1" }
3 enum E { e = 3 };
5 template <int I> struct S {};
7 template <int I> void f (S<I + e + int (3.7)>) {} // { dg-warning "mangle" }
8 template void f<7>(S<7 + e + int (3.7)>); // { dg-message "instantiated" }
10 template <int I> void g (S<I + e + int (3.7)>) {} // { dg-warning "mangle" }
11 template void g<7>(S<7 + e + int (3.7)>); // { dg-message "instantiated" }