gcc/testsuite/c-c++-common/pr90677.c
raw| 1 | /* PR c/90677 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-W -Wall" } */ |
| 4 | |
| 5 | struct cgraph_node; |
| 6 | union tree_node; |
| 7 | typedef union tree_node *tree; |
| 8 | union gimple_statement_d; |
| 9 | typedef union gimple_statement_d *gimple; |
| 10 | struct cgraph_node *cgraph_node (tree); |
| 11 | void foo (int, const char *, ...) __attribute__((__format__(__gcc_diag__, 2, 3))); |