blob: 7da0bb5e7063cee52506360a1ac51bb20b3e6bd0 [file] [log] [blame]
// { dg-do compile }
// { dg-options "-Wall -fdump-tree-eh" }
extern "C"
void fork () // { dg-warning "conflicts with built-in declaration" }
__attribute__ ((__nothrow__));
void foo () throw ()
{
fork ();
}
// { dg-final { scan-tree-dump-not "eh_dispatch" "eh" } }
// { dg-final { scan-tree-dump-not "resx" "eh" } }