2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / other / canon-33194.C
blob496aafe2c1c780a26f6ca54bea2a17044f4e96fa
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            );
10 struct dwflpp
12   static void loc2c_error (const char *fmt, ...)
13   {
14   }
16   void
17   translate_location()
18   {
19     return c_translate_location (&loc2c_error);
20   }