summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr71973-3.C
blob: 12fd0dcea47f7e7e1664aa9d4ab9290627c173a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { 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" } }