Skip to content

Commit 44f17fe

Browse files
committed
Add a test case for initialized for loops
This is in the same form as x264 tests for this feature in configure, which we currently misconvert.
1 parent aaa49da commit 44f17fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unit.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,5 @@ int main(int argc, char *argv[])
9999
else return call_function((AVRational){2, X});
100100
#undef X
101101
}
102+
103+
int foo () { for( int i = 0; i < 9; i++ ); return 0; }

0 commit comments

Comments
 (0)