]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs_neg.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / enable_if / requirements / typedefs_neg.cc
index 17e559d9b3a1fd78341ed30bdbd8eaa1aaf37df2..d1cee183efb4efd98049f0354b1530e795cc36d0 100644 (file)
@@ -1,9 +1,8 @@
-// { dg-do compile }
-// { dg-options "-std=gnu++11" }
+// { dg-do compile { target c++11 } }
 
 // 2007-05-02  Benjamin Kosnik  <bkoz@redhat.com>
 //
-// Copyright (C) 2007-2016 Free Software Foundation, Inc.
+// Copyright (C) 2007-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
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using std::enable_if;
 
   // Negative  tests.
   typedef enable_if<false, int>::type     test2_type;
 }
 
-// { dg-error "does not name a type" "" { target *-*-* } 32 } 
+// { dg-error "does not name a type" "" { target *-*-* } 30 }