mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 08:46:53 +08:00
3 lines
178 B
ChaiScript
3 lines
178 B
ChaiScript
assert_throws("Error: \"Error, cannot assign to constant value.\"", fun() { 1 = 2 } );
|
|
assert_throws("Error: \"Error, cannot assign to constant value.\"", fun() { 1 + 2 = 2 } );
|