summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-28105.rs
blob: 1e8d2d6ccf1325432c332a1af900ef15f34a5e64 (plain)
1
2
3
4
5
6
7
8
// Make sure that a continue span actually contains the keyword.

fn main() {
    continue //~ ERROR `continue` outside of a loop
    ;
    break //~ ERROR `break` outside of a loop
    ;
}