1 // { dg-do compile { target c++11 } }
2 
3 int **** [[gnu::format(printf, 1, 2)]] foo(const char *, ...); // { dg-warning "only applies to function types" }
4