aboutsummaryrefslogtreecommitdiff
path: root/resources/sksl/errors/ForInitStmt.sksl
blob: f1933b8db334c0d9adbc0eda7144e5a1f5a774e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
void test_init_stmt_for()       { for (for(;;);; )              {} }
void test_init_stmt_switch()    { for (switch(0) {} ; )         {} }
void test_init_stmt_while()     { for (while(false) {} ; )      {} }
void test_init_stmt_do()        { for (do {} while(false);; )   {} }
void test_init_stmt_if()        { for (if (false) {} ; )        {} }
void test_init_stmt_break()     { for (break;; )                {} }
void test_init_stmt_continue()  { for (continue;; )             {} }
void test_init_stmt_discard()   { for (discard;; )              {} }
void test_init_stmt_type()      { for (void;; )                 {} }
void test_init_stmt_deep()      { for (for(for(for(;;);;);;);;) {} }

/*%%*
expected expression, but found 'for'
*%%*/