source: src/tests/.expect/fallthrough-ERROR.txt @ e2c70ab

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerwith_gc
Last change on this file since e2c70ab was e2c70ab, checked in by Rob Schluntz <rschlunt@…>, 4 years ago

Add fallthrough test cases

  • Property mode set to 100644
File size: 647 bytes
Line 
1fallthrough.c:54:1 error: 'fallthrough' must be enclosed in a 'switch' or 'choose'
2fallthrough.c:56:1 error: 'fallthrough' must be enclosed in a 'switch' or 'choose'
3fallthrough.c:58:1 error: 'fallthrough' must be enclosed in a 'switch' or 'choose'
4fallthrough.c:65:1 error: 'fallthrough default' must be directly enclosed in a 'switch' or 'choose' control structure with a 'default' clause
5fallthrough.c:67:1 error: 'fallthrough' target must be a later case statement: common3
6fallthrough.c:75:1 error: 'fallthrough' target must be a later case statement: common4
7fallthrough.c:77:1 error: 'fallthrough default' must precede the 'default' clause
Note: See TracBrowser for help on using the repository browser.