Debian Codegraph @

gcc/testsuite/g++.dg/tm/pr58635-2.C

raw
1 // { dg-do compile { target c++11 } }
2 // { dg-options "-fgnu-tm" }
3
4 int
5 foo (void)
6 {
7 return __transaction_atomic noexcept(false) (x); // { dg-error "was not declared in this scope" }
8 }