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

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

void g(CB<foo> i) {}

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