Newer
Older
ubixos / contrib / netbsd-tests / usr.bin / xlint / lint1 / d_compound_literals1.c
@Charlie Root Charlie Root on 31 Dec 2017 123 bytes More Cleanup
/* compound literals */

struct p {
	short a, b, c, d;
};

foo()
{
	struct p me = (struct p) {1, 2, 3, 4};
	me.a = me.b;
}