blob: b866c7fa6cc9ed1c28928f8eb2a2f98567b1fd7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// failure-status: 101
// rustc-env:RUST_BACKTRACE=0
// normalize-stderr-test "note: rustc 1.* running on .*" -> "note: rustc VERSION running on TARGET"
// normalize-stderr-test "note: compiler flags: .*" -> "note: compiler flags: FLAGS"
// This is a repro test for an ICE in our pattern handling of constants.
const FOO: &&&u32 = &&&42;
fn main() {
match unimplemented!() {
&&&42 => {},
FOO => {},
_ => {},
}
}
|