diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp1z/noexcept-type7.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1z/noexcept-type7.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp1z/noexcept-type7.C b/gcc/testsuite/g++.dg/cpp1z/noexcept-type7.C index 7c77a8d..5327647 100644 --- a/gcc/testsuite/g++.dg/cpp1z/noexcept-type7.C +++ b/gcc/testsuite/g++.dg/cpp1z/noexcept-type7.C @@ -1,5 +1,5 @@ // Test for static_cast. -// { dg-options -std=c++17 } +// { dg-do compile { target c++17 } } void f() { |