9 lines
127 B
D
9 lines
127 B
D
import std.stdio;
|
|
|
|
void main()
|
|
{
|
|
int x = 5, y = 5;
|
|
bool which = true;
|
|
(which ? x : y) += 5;
|
|
assert(x == 10);
|
|
}
|