ChaiScript/unittests/3.x/invalid_function_reassignment.chai
2018-05-25 14:33:17 -06:00

3 lines
142 B
ChaiScript

assert_throws("Error: \"Unable to find appropriate'=' operator.\" With parameters: (int, const Function)", fun() { auto x = 5; x = `-`; } );