]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/18_support/nested_exception/cons.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 18_support / nested_exception / cons.cc
index 3d3ad0f91f53e229b364945d4b446871d1b2e0f7..f61a9a2bbb8ed3bfa0a462389fb3a3040b82badf 100644 (file)
@@ -1,7 +1,6 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-atomic-builtins "" }
+// { dg-do run { target c++11 } }
 
-// Copyright (C) 2009-2014 Free Software Foundation, Inc.
+// Copyright (C) 2009-2020 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -23,8 +22,6 @@
 
 void test01() 
 {
-  bool test __attribute__((unused)) = true;
-
   std::nested_exception e;
 
   VERIFY( e.nested_ptr() == 0 );
@@ -32,8 +29,6 @@ void test01()
 
 void test02() 
 {
-  bool test __attribute__((unused)) = true;
-
   try
   {
     throw 42;