mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Too deeply nested scopes was a fatal crash and not a regular semantic error. #2796
This commit is contained in:
7
test/test_suite/functions/function_deep_nesting.c3
Normal file
7
test/test_suite/functions/function_deep_nesting.c3
Normal file
@@ -0,0 +1,7 @@
|
||||
fn void test(int a = test()) // #error: Resolution failed due to too deeply nested scopes (257).
|
||||
{
|
||||
}
|
||||
fn void main()
|
||||
{
|
||||
test();
|
||||
}
|
||||
Reference in New Issue
Block a user