testsuite: suppress mangling compatibility aliases
[official-gcc.git] / gcc / testsuite / g++.dg / abi / mangle23.C
blob7e3e9883adf9aa2ca81971bb125d42c1ce3e0c8a
1 // PR c++/16240
2 // { dg-options "-fabi-version=2 -fabi-compat-version=2 -Wno-abi" }
4 void foo(char);
5 template<void (&)(char)> struct CB {};
7 void g(CB<foo> i) {}
9 // { dg-final { scan-assembler "\n_?_Z1g2CBILZ3foocEE\[: \t\n\]" } }