rust/tests/ui/proc-macro/issue-37788.rs

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

10 lines
229 B
Rust
Raw Normal View History

// aux-build:test-macros.rs
2016-11-16 01:30:35 -06:00
#[macro_use]
extern crate test_macros;
2016-11-16 01:30:35 -06:00
fn main() {
// Test that constructing the `visible_parent_map` (in `cstore_impl.rs`) does not ICE.
std::cell::Cell::new(0) //~ ERROR mismatched types
}