]> matita.cs.unibo.it Git - pkg-cerco/acc.git/blob - tests/GCCTestSuite/void-cast-1.c.expected
Imported Upstream version 0.2
[pkg-cerco/acc.git] / tests / GCCTestSuite / void-cast-1.c.expected
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;
9 int e(void) { return (void)a, b; }
10 int f(void) { return (void)a, (void)b, c; }
11 int g(void) { return (void)a, (void)b, (void)c, d; }