10
10
assert(x + x == 20);
11
11
assert(1 + x == 11);
12
assert(10 + x + 10 == 30);
b'\\ No newline at end of file'
12
assert(10 + x + 10 == 30);
14
// Test function call (useful for constant folding)
19
assert(test() + 2 + test() == 14);
21
def calculate(a, b, c) {
25
assert(calculate(1, 2, 3) + calculate(2, 3, 4) == 15);
34
class AnotherClass < Test {
36
return super.test() + 10;
40
assert(AnotherClass().test() == 20);
b'\\ No newline at end of file'