2015-08-30 20:43:09 +02:00
|
|
|
// Make sure that a continue span actually contains the keyword.
|
|
|
|
|
|
|
|
fn main() {
|
2019-08-21 15:13:13 +03:00
|
|
|
continue //~ ERROR `continue` outside of a loop
|
2015-09-02 22:35:04 +03:00
|
|
|
;
|
2019-08-21 15:13:13 +03:00
|
|
|
break //~ ERROR `break` outside of a loop
|
2015-09-02 22:35:04 +03:00
|
|
|
;
|
2015-08-30 20:43:09 +02:00
|
|
|
}
|