blob: 4fc7801d0a6d3fa9c955adba957365ab145fb262 [file] [log] [blame]
int main() {
int a = 0;
int b = 1;
a = b = 2; // Test that "b = 2" generates an rvalue.
if (a = 7) { // Test that a = 7 generates an rvalue.
b = 3;
}
return a;
}