Switch lambda syntax over to [](){} format, to line up with C++11.
This commit is contained in:
@@ -1 +1 @@
|
||||
assert_throws("Invalid function reassignment", fun() { auto x = 5; x = `-`; } );
|
||||
assert_throws("Invalid function reassignment", []() { auto x = 5; x = `-`; } );
|
||||
|
Reference in New Issue
Block a user