NetBSD/tests/util/xlint/lint1/d_compound_literals1.c
jmmv 7ce6f390a2 Convert the lint1 tests to atf.
Initial work from the GSoC 2008 project by Lukasz Strzygowski.
2010-07-18 10:11:00 +00:00

12 lines
123 B
C

/* compound literals */
struct p {
short a, b, c, d;
};
foo()
{
struct p me = (struct p) {1, 2, 3, 4};
me.a = me.b;
}