summary refs log tree commit diff
path: root/src/test/ui/parser/recover-enum.rs
blob: da42da84acf2ef26a57003e60a2d0d3b37ba6c40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile-flags: -Z continue-parse-after-error

fn main() {
    enum Test {
        Very
        //~^ ERROR missing comma
        Bad(usize)
        //~^ ERROR missing comma
        Stuff { a: usize }
        //~^ ERROR missing comma
        Here
    }
}