Home | History | Annotate | Line # | Download | only in lint1
d_c99_anon_union.c revision 1.1
      1  1.1  christos /* struct with only anonymous members */
      2  1.1  christos 
      3  1.1  christos struct foo {
      4  1.1  christos 	union {
      5  1.1  christos 		long loo;
      6  1.1  christos 		double doo;
      7  1.1  christos 	};
      8  1.1  christos };
      9  1.1  christos 
     10  1.1  christos int
     11  1.1  christos main(void) {
     12  1.1  christos 
     13  1.1  christos 	struct foo *f = 0;
     14  1.1  christos 	printf("%p\n", &f[1]);
     15  1.1  christos 	return 0;
     16  1.1  christos }
     17