1 /* Don't warn where the left-hand side of a comma expression is a
2    comma expression whose right-hand side is cast to void.  Bug
3    21159.  */
4 /* Origin: Joseph Myers <joseph@codesourcery.com> */
5 /* { dg-do compile } */
6 /* { dg-options "-Wall" } */
7 
8 int a, b, c, d;
e(void)9 int e(void) { return (void)a, b; }
f(void)10 int f(void) { return (void)a, (void)b, c; }
g(void)11 int g(void) { return (void)a, (void)b, (void)c, d; }
12