2018-12-13 11:54:49 +00:00
|
|
|
// failure-status: 101
|
2019-01-14 06:16:27 +00:00
|
|
|
// rustc-env:RUST_BACKTRACE=0
|
2019-04-07 14:45:28 +00:00
|
|
|
// normalize-stderr-test "note: rustc 1.* running on .*" -> "note: rustc VERSION running on TARGET"
|
|
|
|
// normalize-stderr-test "note: compiler flags: .*" -> "note: compiler flags: FLAGS"
|
2019-06-16 11:11:20 +00:00
|
|
|
// normalize-stderr-test "/_match.rs:[0-9]+:[0-9]+" -> "/_match.rs:LL:CC"
|
2018-12-13 11:54:49 +00:00
|
|
|
|
|
|
|
// This is a repro test for an ICE in our pattern handling of constants.
|
|
|
|
|
|
|
|
const FOO: &&&u32 = &&&42;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
match unimplemented!() {
|
|
|
|
&&&42 => {},
|
|
|
|
FOO => {},
|
|
|
|
_ => {},
|
|
|
|
}
|
|
|
|
}
|