blob: 747ae1a72801fdf56f3e5eb2c7da98497e0a6326 [file] [log] [blame]
// Expect 3 errors
void discard_stmt() { discard; }
int do_loop(int x) { do { x++; } while(x < 1); return x; }
int while_loop(int x) { while (x < 1) { x++; } return x; }
/*%%*
discard statement is only permitted in fragment shaders
do-while loops are not supported
while loops are not supported
*%%*/