1 /* { dg-do compile } */
2 /* { dg-options "-pedantic" } */
3
4 int *a, b;
5
6 void fn1 ()
7 {
8 a = __builtin_malloc (sizeof(int)*2);
9 b = &a[1] == (0, 0); /* { dg-warning "comparison between pointer and integer" } */
10 }