From cb65dd4453faacfee1ea18a65e6e14e2e24d996f Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 9 Jan 2017 11:09:09 +0000 Subject: [PATCH] Add missing dg-options to C++11 test. * testsuite/30_threads/thread/cons/lwg2097.cc: Compile with -std=gnu++11. From-SVN: r244222 --- libstdc++-v3/ChangeLog | 3 +++ libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc | 1 + 2 files changed, 4 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b5da54506638..7f9550b958df 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2017-01-09 Jonathan Wakely + * testsuite/30_threads/thread/cons/lwg2097.cc: Compile with + -std=gnu++11. + * testsuite/25_algorithms/sort/78991.cc: Compile with -std=gnu++14. 2017-01-06 Jonathan Wakely diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc index 3ec4325e957a..d5d6288fa822 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc @@ -1,3 +1,4 @@ +// { dg-options "-std=gnu++11" } // { dg-do compile } // { dg-require-cstdint "" } // { dg-require-gthreads "" } -- 2.47.2