☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
pr70747.c
☽
☼
gcc/testsuite/gcc.dg/pr70747.c
code
plain
raw
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
}