summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-17336.rs
blob: 89ce59b11f25953614b7fc29924944539e79bd52 (plain)
1
2
3
4
5
6
7
8
9
// build-pass
#![allow(unused_must_use)]
#[allow(dead_code)]
fn check(a: &str) {
    let x = a as *const str;
    x == x;
}

fn main() {}