Debian Codegraph @

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

raw
1 // Test that these aren't keywords without -fgnu-tm.
2
3 int main()
4 {
5 synchronized { } // { dg-error "not declared" }
6 atomic_noexcept { } // { dg-error "not declared" }
7 atomic_cancel { } // { dg-error "not declared" }
8 atomic_commit { } // { dg-error "not declared" }
9 }