1*11be35a1SLionel Sambuc /* compound literals */ 2*11be35a1SLionel Sambuc 3*11be35a1SLionel Sambuc struct p { 4*11be35a1SLionel Sambuc short a, b, c, d; 5*11be35a1SLionel Sambuc } zz = { 6*11be35a1SLionel Sambuc 1, 2, 3, 4 7*11be35a1SLionel Sambuc }; 8*11be35a1SLionel Sambuc bar(int i)9*11be35a1SLionel Sambucstruct p *bar(int i) 10*11be35a1SLionel Sambuc { 11*11be35a1SLionel Sambuc static struct p q[10]; 12*11be35a1SLionel Sambuc return &q[i]; 13*11be35a1SLionel Sambuc } 14*11be35a1SLionel Sambuc foo()15*11be35a1SLionel Sambucfoo() 16*11be35a1SLionel Sambuc { 17*11be35a1SLionel Sambuc *bar(1) = (struct p) { 1, 2, 3, 4 }; 18*11be35a1SLionel Sambuc } 19