Debian Codegraph @

gcc/testsuite/g++.dg/tm/overload2.C

raw
1 // 13.4p1: A function with type F is selected for the function type FT of the
2 // target type required in the context if F (after possibly applying the
3 // transaction-safety conversion (4.14 [conv.tx])) is identical to FT.
4 // { dg-options "-fgnu-tm" }
5
6 void f() transaction_safe;
7 void f(int);
8
9 void (*p)() = f;