mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
13 lines
187 B
Rust
13 lines
187 B
Rust
|
//@ aux-build:trivial-cast-ice.rs
|
||
|
//@ check-pass
|
||
|
|
||
|
// Demonstrates the ICE in #102561
|
||
|
|
||
|
#![deny(trivial_casts)]
|
||
|
|
||
|
extern crate trivial_cast_ice;
|
||
|
|
||
|
fn main() {
|
||
|
trivial_cast_ice::foo!();
|
||
|
}
|