1// Error: intenral compiler error on 1998/05/28 snapshot. 2#include <stdio.h> 3#include <stdlib.h> 4 5void evilRises (void **ptr) 6{ 7 int *pi; 8 9 pi = new int; 10 11 *pi = 0; 12 13 *ptr = (void *)pi; 14} 15 16int main (int argc, char *argv[]) 17{ 18#ifdef WORKAROUND 19 union foo 20#else 21 union 22#endif 23 { 24 int a; 25 int b; 26 int c; 27 } *fred, barney; 28 29 evilRises((void **)&fred); 30 31 barney = *fred; 32 33 return EXIT_SUCCESS; 34} 35