(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
pr71973-3.C
// { dg-do compile }
// { dg-options "-Wall -fdump-tree-eh" }

extern "C"
int execve (const char *__path, char *const __argv[], char *const __envp[])
__attribute__ ((__nothrow__));

void foo () throw ()
{
  execve (0,0,0);
}

// { dg-final { scan-tree-dump-not "eh_dispatch" "eh" } }
// { dg-final { scan-tree-dump-not "resx" "eh" } }