decl.c (grok_ctor_properties): Use DECL_SOURCE_LOCATION.
[official-gcc.git] / gcc / testsuite / c-c++-common / pr27336.c
blob4ecc232b624100b1ff0d65aef77a0ebf7d9016fd
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdelete-null-pointer-checks -fdump-tree-vrp1" } */
3 /* { dg-skip-if "" { keeps_null_pointer_checks } } */
5 struct B { int x; };
6 extern void g3(struct B *that) __attribute__((nonnull));
7 int f3(struct B *a)
9 g3(a);
10 return a != (void *)0;
13 /* { dg-final { scan-tree-dump "return 1;" "vrp1" } } */