rust/tests/ui/consts/issue-63226.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
273 B
Rust
Raw Normal View History

2019-08-15 04:56:57 +00:00
// aux-build:issue-63226.rs
// compile-flags:--extern issue_63226
// edition:2018
// build-pass
2019-08-15 07:59:03 +00:00
// A regression test for issue #63226.
// Checks if `const fn` is marked as reachable.
2019-08-15 04:56:57 +00:00
use issue_63226::VTable;
static ICE_ICE:&'static VTable=VTable::vtable();
fn main() {}