diff options
| -rw-r--r-- | validation/linear/unreachable-label0.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/validation/linear/unreachable-label0.c b/validation/linear/unreachable-label0.c new file mode 100644 index 00000000..568ae588 --- /dev/null +++ b/validation/linear/unreachable-label0.c @@ -0,0 +1,20 @@ +static int foo(int a) +{ + goto label; + switch(a) { + default: +label: + break; + } + return 0; +} + +/* + * check-name: unreachable-label0 + * check-command: test-linearize $file + * check-known-to-fail + * + * check-output-ignore + * check-output-contains: ret\\. + * check-output-excludes: END + */ |
