]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/netbsd-tests/usr.bin/xlint/lint1/d_compound_literals1.c
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / netbsd-tests / usr.bin / xlint / lint1 / d_compound_literals1.c
1 /* compound literals */
2
3 struct p {
4         short a, b, c, d;
5 };
6
7 foo()
8 {
9         struct p me = (struct p) {1, 2, 3, 4};
10         me.a = me.b;
11 }