Files
lib_compiler/tests/lvalues2.txt
2024-04-13 15:29:53 +02:00

6 lines
188 B
Plaintext

// #failed: resolve
// #error: assigning value to a temporal object (lvalue)
f0 :: proc() { (1+1) = 2; }
// #error: assigning value to a temporal object (lvalue)
f1 :: proc() { 1+1 = 2; }