summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/call.rs
blob: 5f48c235373520320a7b3adf19e9f51d25d1dc92 (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass

#![feature(const_closures, const_trait_impl)]
#![allow(incomplete_features)]

pub const _: () = {
    assert!((const || true)());
};

fn main() {}