gcc/testsuite/g++.dg/other/canon-33194.C
raw| 1 | // PR c++/33194 |
| 2 | void c_translate_location ( |
| 3 | void (*fail) ( |
| 4 | const char *fmt, ...) |
| 5 | __attribute__ ((noreturn, |
| 6 | format (printf, 1, 2))) |
| 7 | ); |
| 8 | |
| 9 | |
| 10 | struct dwflpp |
| 11 | { |
| 12 | static void loc2c_error (const char *fmt, ...) |
| 13 | { |
| 14 | } |
| 15 | |
| 16 | void |
| 17 | translate_location() |
| 18 | { |
| 19 | return c_translate_location (&loc2c_error); |
| 20 | } |
| 21 | }; |