blob: 93f28cfa1ae020ba2e75387c6ec801cbc523723a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile } */
/* { dg-options "-fdump-tree-cfg" } */
void *alloca (__SIZE_TYPE__);
void link_error ();
int main (int argc, char *argv[]) {
char *foo;
if ((foo = alloca(argc)) == 0)
link_error ();
return 0;
}
/* { dg-final { scan-tree-dump-times "link_error" 0 "cfg" } } */
/* { dg-final { cleanup-tree-dump "cfg" } } */
|