10 lines
194 B
C
10 lines
194 B
C
|
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;
|
||
|
}
|