1 2 3 4 5 6 7
// { dg-options "-std=gnu++20" } // { dg-do compile { target c++20 } } #include <format> auto s = std::format(" {9} "); // { dg-error "invalid.arg.id" "" { target *-*-* } 0 }