]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28109.rs
Merge commit '9809f5d21990d9e24b3e9876ea7da756fd4e9def' into libgccjit-codegen
[rust.git] / src / test / ui / issues / issue-28109.rs
1 // Make sure that label for continue and break is spanned correctly
2
3 fn main() {
4     loop {
5         continue
6         'b //~ ERROR use of undeclared label
7         ;
8         break
9         'c //~ ERROR use of undeclared label
10         ;
11     }
12 }