]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc
Update copyright years in libstdc++-v3/
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / declval / requirements / 1_neg.cc
index f0c6546890943b61d21883267538f9c440d473f1..a744d8326374f16ded29f1ccdd5e02b159cf1dd0 100644 (file)
@@ -2,7 +2,7 @@
 // { dg-do compile }
 // 2009-11-12  Paolo Carlini  <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009, 2010 Free Software Foundation, Inc.
+// Copyright (C) 2009-2014 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
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-error "static assertion failed" "" { target *-*-* } 682 }
+// { dg-error "static assertion failed" "" { target *-*-* } 2003 }
 
 #include <utility>
 
 void test01()
 {
-  std::declval<int>();         // { dg-error "instantiated from here" }
+  std::declval<int>();         // { dg-error "required from here" }
 }