Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark
From: ark@alice.UUCP (Andrew Koenig)
Newsgroups: net.lang.c
Subject: Re: how has C bitten you?
Message-ID: <4182@alice.UUCP>
Date: Tue, 20-Aug-85 17:17:35 EDT
Article-I.D.: alice.4182
Posted: Tue Aug 20 17:17:35 1985
Date-Received: Sat, 24-Aug-85 01:22:46 EDT
References: <1223@ubc-cs.UUCP>
Organization: Bell Labs, Murray Hill
Lines: 15

> typedef union {
>		int  u1;
>		char u2;
>	} union_type;
>
> typedef struct {
>		int        f1;
>		union_type f2;
>	} struct_type;
>
> struct_type s;
>
> s.u1 = 0;   /* should be: s.f1.u1 = 0 */

Gee, our compiler certainly complains about this one.