1 /* Test for scanf formats. %a extensions. */
2 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu89 -Wformat" } */
9 foo (char **sp
, wchar_t **lsp
)
11 /* %a formats for allocation, only recognized in C90 mode, are a
12 GNU extension. Followed by other characters, %a is not treated
17 scanf ("%a[bcd]", sp
);