mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
10 lines
232 B
Rust
10 lines
232 B
Rust
//@ proc-macro: test-macros.rs
|
|
|
|
#[macro_use]
|
|
extern crate test_macros;
|
|
|
|
fn main() {
|
|
// Test that constructing the `visible_parent_map` (in `cstore_impl.rs`) does not ICE.
|
|
std::cell::Cell::new(0) //~ ERROR mismatched types
|
|
}
|