diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-08-24 16:06:25 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-08-24 16:07:12 +0100 |
commit | ac4e9090fce653ba7a43ea5333efdd9bbe5c71a3 (patch) | |
tree | 4ab7767c88b78acca7a6fcf5447e88074197c9c7 | |
parent | 311281441cbea05691aec4fb1b5ebff39106cd5b (diff) | |
download | gcc-ac4e9090fce653ba7a43ea5333efdd9bbe5c71a3.zip gcc-ac4e9090fce653ba7a43ea5333efdd9bbe5c71a3.tar.gz gcc-ac4e9090fce653ba7a43ea5333efdd9bbe5c71a3.tar.bz2 |
libstdc++: Fix 30_threads/packaged_task/cons/alloc.cc regression
libstdc++-v3/ChangeLog:
* testsuite/30_threads/packaged_task/cons/alloc.cc: Run for
C++11 and skip for C++17 or later.
-rw-r--r-- | libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc index dbe477a..d45637d 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc @@ -1,6 +1,6 @@ -// { dg-do run } +// { dg-options "-std=gnu++11" } +// { dg-do run { target { c++11_only || c++14_only } } } // { dg-additional-options "-pthread" { target pthread } } -// { dg-require-effective-target c++11 } // { dg-require-gthreads "" } // Copyright (C) 2010-2020 Free Software Foundation, Inc. |