diff options
Diffstat (limited to 'tests/data/parser/err/0010_unsafe_lambda_block.rs')
-rw-r--r-- | tests/data/parser/err/0010_unsafe_lambda_block.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/data/parser/err/0010_unsafe_lambda_block.rs b/tests/data/parser/err/0010_unsafe_lambda_block.rs new file mode 100644 index 000000000..985775282 --- /dev/null +++ b/tests/data/parser/err/0010_unsafe_lambda_block.rs | |||
@@ -0,0 +1,3 @@ | |||
1 | fn main() { | ||
2 | || -> () unsafe { () }; | ||
3 | } | ||