1 // Check that an `enum` variant is resolved, in the value namespace,
2 // with higher priority than other inherent items when there is a conflict.
21 <E>::V(); //~ ERROR this enum variant takes 1 argument but 0 arguments were supplied
22 let _: u8 = <E2>::V; //~ ERROR mismatched types