PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70747.c
blob0fca7ebd97f453d38924ed3a2edf3d8465189592
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic" } */
4 int *a, b;
6 void fn1 ()
8 a = __builtin_malloc (sizeof(int)*2);
9 b = &a[1] == (0, 0); /* { dg-warning "comparison between pointer and integer" } */