ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/objc.dg/pr69844.m

25 lines
256 B
Objective-C

/* PR objc/69844 */
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
@class D;
void
foo (void)
{
for (;;)
;
D *d = (id) 0;
(void) d;
}
void
bar (void)
{
for (int D = 0; D < 30; D++)
if (1)
;
D *d = (id) 0;
(void) d;
}