blob: b378542e5730c12e1a93ee318ca173a7a596907b [file] [log] [blame]
const fn cmp(x: fn(&'static ()), y: for<'a> fn(&'a ())) -> bool {
x == y
//~^ ERROR pointers cannot be reliably compared during const eval
}
fn main() {}