Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 175 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![allow(unused_must_use)]
#[allow(dead_code)]
fn check(a: &str) {
let x = a as *const str;
x == x;
}
fn main() {}
You can’t perform that action at this time.