Skip to content

Commit c923901

Browse files
author
Patrick Palka
committed
libstdc++: Fix backported test [PR112490]
On the 13 branch and older, C++ >= 20 tests need an explicit dg-options directive specifying the -std flag, otherwise they won't run by default. PR libstdc++/112490 libstdc++-v3/ChangeLog: * testsuite/24_iterators/const_iterator/112490.cc: Add dg-options directive.
1 parent 031e1bf commit c923901

File tree

1 file changed

+1
-0
lines changed
  • libstdc++-v3/testsuite/24_iterators/const_iterator

1 file changed

+1
-0
lines changed

libstdc++-v3/testsuite/24_iterators/const_iterator/112490.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// { dg-options "-std=gnu++23" }
12
// { dg-do compile { target c++23 } }
23

34
// PR libstdc++/112490 - infinite meta error in

0 commit comments

Comments
 (0)