blob: 38f41532f95d64d262b1ba3aa3fbd2a2eeb4fea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do link } */
/* { dg-options "-fdelete-null-pointer-checks -fdump-tree-original" } */
void foo();
int main()
{
if (foo == (void *)0)
link_error ();
return 0;
}
/* { dg-final { scan-tree-dump-not "foo" "original" } } */
/* { dg-final { cleanup-tree-dump "original" } } */
|