mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add --max-macro-iterations to set macro iteration limit.
This commit is contained in:
6
test/test_suite/compile_time/ct_for_limit.c3
Normal file
6
test/test_suite/compile_time/ct_for_limit.c3
Normal file
@@ -0,0 +1,6 @@
|
||||
fn int main()
|
||||
{
|
||||
$for var $i = 0; $i < 1000000000; $i++: // #error: Too many iterations in
|
||||
$endfor
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user