rt_gccstream/gcc/testsuite/gcc.dg/wtypequal.c

8 lines
126 B
C

/* { dg-do compile } */
int *__restrict *p;
void f(void)
{
__typeof(*p) *q = p; /* { dg-bogus "discards qualifiers" } */
}