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

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumwith_gc
Last change on this file since 6a276a0 was e2c70ab, checked in by Rob Schluntz <rschlunt@…>, 7 years ago

Add fallthrough test cases

  • Property mode set to 100644
File size: 647 bytes
RevLine 
[e2c70ab]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.