]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/tm/noexcept-7.C
Implement N4514, C++ Extensions for Transactional Memory.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / tm / noexcept-7.C
1 // FIXME the TS says atomic_noexcept calls abort, not terminate.
2 // { dg-options "-fgnu-tm" }
3
4 void f()
5 {
6 atomic_noexcept { throw; } // { dg-warning "terminate" }
7 }