Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/ext/has_nothrow_constructor-3.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
// PR c++/89914 struct A { int i = ; // { dg-error "expected" } // { dg-error "non-static data member" "" { target c++98_only } .-1 } }; bool b = __has_nothrow_constructor (A);