2019-10-29 00:00:00 +00:00
|
|
|
//@ build-pass
|
2023-11-09 18:13:52 +01:00
|
|
|
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(unused_must_use)]
|
2023-11-09 18:13:52 +01:00
|
|
|
#![allow(ambiguous_wide_pointer_comparisons)]
|
|
|
|
|
|
2015-10-12 09:44:26 -04:00
|
|
|
#[allow(dead_code)]
|
|
|
|
|
fn check(a: &str) {
|
|
|
|
|
let x = a as *const str;
|
|
|
|
|
x == x;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn main() {}
|