1 /* Reduced from glib, which has a g_error macro with this infinite
5 Make sure we provide a readable warning for this case. */
7 extern void g_log_structured_standard (const char *);
11 g_log_structured_standard (MSG); \
14 /* { dg-message "5: infinite loop" "" { target *-*-* } .-2 } */
16 void test_g_error (void)
18 g_error ("something went wrong"); /* { dg-message "in expansion of macro 'g_error'" } */