https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121594

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Testcase that is rejected:
```
#include <tuple>
#include <string_view>
int main() {
    using namespace std::literals;
    template for(constexpr auto e : std::make_tuple(1, true, "asd"sv)) {

    }
}
```


Testcase that works:
```
#include <tuple>
#include <string_view>
int main() {
    using namespace std::literals;
    constexpr static auto t = std::make_tuple(1, true, "asd"sv);
    template for(constexpr auto e : t) {

    }
}
```

Please next time attach or place inline the testcases rather than just linking
against godbolt.

Reply via email to