(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
gen-attrs-1.C
// { dg-do compile { target c++11 } }

int **** [[gnu::format(printf, 1, 2)]] foo(const char *, ...); // { dg-warning "only applies to function types" }