pub struct S;

pub fn foo(v: S) {
    match v {
        S => ()
    }
}