1 // RUN: %clang_cc1 -verify -Wunsequenced -Wno-unused-value %s
4 * Clarification of Expressions
16 x
= (10, g
= 1, 20) + (30, g
= 2, 40); /* Line A */ // expected-warning {{multiple unsequenced modifications to 'g'}}
17 x
= (10, f(1), 20) + (30, f(2), 40); /* Line B */
18 x
= (g
= 1) + (g
= 2); /* Line C */ // expected-warning {{multiple unsequenced modifications to 'g'}}