summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/trivial-cast-ice.rs
blob: f781fab2212cc535526762ba12910aea035f5f23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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!();
}