view gcc/testsuite/g++.dg/tm/overload1.C @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

// Function declarations that differ only in the presence or absence of a
// tx-qualifier cannot be overloaded.
// { dg-options "-fgnu-tm" }

void f();			// { dg-message "" }
void f() transaction_safe;	// { dg-error "" }