about summary refs log tree commit diff
path: root/tests/ui/numbers-arithmetic/integer-literal-suffix-inference-2.rs
blob: 2cbbdfc6479f1cac4890a9f5d0089d229fdcc8ca (plain)
1
2
3
4
5
6
7
8
//@ run-pass

fn foo(_: *const ()) {}

fn main() {
    let a = 3;
    foo(&a as *const _ as *const ());
}