(root)/
gcc-13.2.0/
libstdc++-v3/
testsuite/
std/
format/
string_neg.cc
// { 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 }