1 // Verify that if explicit prototype for builtin is present with throw(),
2 // neither the normal builtin nor __builtin_* variant can throw exceptions.
4 // { dg-options "-fdump-tree-eh" }
6 extern "C" int printf (const char *, ...) throw();
8 extern void callme (void) throw();
14 printf ("foo %d\n", i);
24 __builtin_printf ("foo %d\n", i);
30 /* { dg-final { scan-tree-dump-times "resx" 0 "eh" } } */