summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/20_util/any/requirements.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/any/requirements.cc')
-rw-r--r--libstdc++-v3/testsuite/20_util/any/requirements.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/20_util/any/requirements.cc b/libstdc++-v3/testsuite/20_util/any/requirements.cc
index b5e58911f5b..192a15c3fa8 100644
--- a/libstdc++-v3/testsuite/20_util/any/requirements.cc
+++ b/libstdc++-v3/testsuite/20_util/any/requirements.cc
@@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//