diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/ext/has_nothrow_constructor_odr.C')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/g++.dg/ext/has_nothrow_constructor_odr.C | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/ext/has_nothrow_constructor_odr.C b/gcc-4.8.1/gcc/testsuite/g++.dg/ext/has_nothrow_constructor_odr.C deleted file mode 100644 index 68ca111b0..000000000 --- a/gcc-4.8.1/gcc/testsuite/g++.dg/ext/has_nothrow_constructor_odr.C +++ /dev/null @@ -1,16 +0,0 @@ -// PR c++/36870 -// { dg-do run } -#include <cassert> - -struct S { S (); }; - -bool f (); - -int main () -{ - assert (__has_nothrow_constructor (S) == f ()); -} - -S::S () { } - -bool f () { return __has_nothrow_constructor (S); } |