Debian Codegraph @

gcc/testsuite/g++.dg/cpp23/range-for3.C

raw
1 // P2718R0 - Wording for P2644R1 Fix for Range-based for Loop
2 // { dg-do run { target c++11 } }
3 // Verify -frange-for-ext-temps works in earlier standards.
4 // { dg-additional-options "-frange-for-ext-temps" }
5
6 #define RANGE_FOR_EXT_TEMPS 1
7 #include "range-for1.C"