PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / g++.dg / pr71973-3.C
blob12fd0dcea47f7e7e1664aa9d4ab9290627c173a3
1 // { dg-do compile }
2 // { dg-options "-Wall -fdump-tree-eh" }
4 extern "C"
5 int execve (const char *__path, char *const __argv[], char *const __envp[])
6 __attribute__ ((__nothrow__));
8 void foo () throw ()
10   execve (0,0,0);
13 // { dg-final { scan-tree-dump-not "eh_dispatch" "eh" } }
14 // { dg-final { scan-tree-dump-not "resx" "eh" } }