aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/label-scope-cgoto.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-04-12 09:26:22 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-05-21 17:27:45 +0200
commit633a390c169082646e7172c753f319568ef22695 (patch)
tree77b6196e9d4175a006684ceb0627a3fa12e5c625 /validation/linear/label-scope-cgoto.c
parent0b6d161ed1cc0f2226482d64c56fe9dc89bc0ebf (diff)
downloadsparse-dev-633a390c169082646e7172c753f319568ef22695.tar.gz
bad-goto: reorganize testcases and add some more
Reorganize the testcases related to the 'scope' of labels and add a few new ones. Also, some related testcases have some unreported errors other than the features being tested. This is a problem since such tescases can still fail after the feature being tested is fixed or implemented. So, fix these testcases or split them so that they each test a unique feature. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/linear/label-scope-cgoto.c')
-rw-r--r--validation/linear/label-scope-cgoto.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/validation/linear/label-scope-cgoto.c b/validation/linear/label-scope-cgoto.c
new file mode 100644
index 00000000..592f1ce4
--- /dev/null
+++ b/validation/linear/label-scope-cgoto.c
@@ -0,0 +1,11 @@
+#include <label-scope-cgoto.c>
+
+/*
+ * check-name: linear/label-scope-cgoto
+ * check-command: test-linearize -Wno-decl -I. $file
+ * check-known-to-fail
+ *
+ * check-error-ignore
+ * check-output-ignore
+ * check-output-excludes: END
+ */