c++, coroutines: Provide a CTOR for a callback object [NFC].
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 931110-2.c
bloba183de25b7b8087de42ac8d4ed080aff21f33906
1 void abort (void);
2 void exit (int);
4 int
5 main (void)
7 static int a[] = {3, 4};
8 register int *b;
9 int c;
11 b = a;
12 c = *b++ % 8;
13 if (c != 3)
14 abort ();
15 exit (0);