blob: 202673dc4f477ae794aa69b2af7fdcce567430d6 [file]
#![feature(no_core)]
#![no_core]
enum E {
A,
}
// TODO: this test ICEs because Path patterns in function parameters aren't fully implemented.
// once implementation is added this test should compile normally
fn a(E::A: E) {} // { dg-ice "" }
fn main() {
let E::A: E;
}