summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/mangle23.C
blob: f22347a0490f1adb3fbe5b4bc6d94d327bf1b3fd (plain)
1
2
3
4
5
6
7
8
9
// PR c++/16240
// { dg-options "-fabi-version=2 -Wno-abi" }

void foo(char);
template<void (&)(char)> struct CB {};

void g(CB<foo> i) {}

// { dg-final { scan-assembler "\n_?_Z1g2CBILZ3foocEE\[: \t\n\]" } }