552fcb9a1b
All internal usage has migrated to MakeFor..., this removes the old program kind, and updates some tests. Bug: skia:11813 Change-Id: I56733b071270e1ae3fab5d851e23acf6c02e3361 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/402536 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com>
10 lines
253 B
Plaintext
10 lines
253 B
Plaintext
// Expect 4 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; }
|
|
|
|
int switch_stmt(int x) { switch (x) { case 0: return 1; default: return x; } }
|