1 int main() { 2 int a = 0; 3 int b = 1; 4 a = b = 2; // Test that "b = 2" generates an rvalue. 5 if (a = 7) { // Test that a = 7 generates an rvalue. 6 b = 3; 7 } 8 return a; 9 } 10