1// { dg-do assemble } 2// Any expression may be explicitly converted to type void. 3 4struct S { int m[10]; } object; 5struct S f () { return object; } 6 7void 8test () 9{ 10 (void) f().m; /* OK - cast to void; see constraints in 3.8.1 */ 11} 12