mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Bug causing a compiler error when parsing a broken lambda inside of an expression.
This commit is contained in:
5
test/test_suite/lambda/lambda_broken_in_expr.c3
Normal file
5
test/test_suite/lambda/lambda_broken_in_expr.c3
Normal file
@@ -0,0 +1,5 @@
|
||||
macro int main2()
|
||||
{
|
||||
(fn void (*arg) { // #error: Expected a parameter
|
||||
})(&&true);
|
||||
}
|
||||
Reference in New Issue
Block a user