summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/experimental/functional/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/experimental/functional/value.cc')
-rw-r--r--libstdc++-v3/testsuite/experimental/functional/value.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/experimental/functional/value.cc b/libstdc++-v3/testsuite/experimental/functional/value.cc
index 9dce16e0ff5..96a2b78a45b 100644
--- a/libstdc++-v3/testsuite/experimental/functional/value.cc
+++ b/libstdc++-v3/testsuite/experimental/functional/value.cc
@@ -15,8 +15,7 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++14" }
-// { dg-do compile }
+// { dg-do compile { target c++14 } }
#include <experimental/functional>