xref: /aosp_15_r20/external/skia/resources/sksl/errors/ForInitStmt.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1void test_init_stmt_for()       { for (for(;;);; )              {} }
2void test_init_stmt_switch()    { for (switch(0) {} ; )         {} }
3void test_init_stmt_while()     { for (while(false) {} ; )      {} }
4void test_init_stmt_do()        { for (do {} while(false);; )   {} }
5void test_init_stmt_if()        { for (if (false) {} ; )        {} }
6void test_init_stmt_break()     { for (break;; )                {} }
7void test_init_stmt_continue()  { for (continue;; )             {} }
8void test_init_stmt_discard()   { for (discard;; )              {} }
9void test_init_stmt_type()      { for (void;; )                 {} }
10void test_init_stmt_deep()      { for (for(for(for(;;);;);;);;) {} }
11
12/*%%*
13expected expression, but found 'for'
14*%%*/
15