Added testcase for between-blocks gotos.

Deleted old testcase.
This commit is contained in:
laubzega
2018-09-25 23:54:45 -07:00
committed by Oliver Schmidt
parent 2ac2ffcd43
commit 4b78d40e97
4 changed files with 35 additions and 77 deletions

View File

@@ -1,6 +0,0 @@
goto.c(34): Error: Goto from line 29 to label 'bad' can result in a trashed stack
goto.c(40): Error: Goto from line 18 to label 'unsafe' can result in a trashed stack
goto.c(42): Error: Goto from line 42 to label 'another' can result in a trashed stack
goto.c(47): Error: Goto from line 47 to label 'bad' can result in a trashed stack
goto.c(56): Error: Goto from line 38 to label 'finish' can result in a trashed stack
goto.c(58): Warning: `unused' is defined but never used