]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/integer-literal-suffix-inference-2.rs
Rollup merge of #102016 - lcnr:given-OutlivesEnvironment, r=jackh726
[rust.git] / src / test / ui / numbers-arithmetic / integer-literal-suffix-inference-2.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 fn foo(_: *const ()) {}
5
6 fn main() {
7     let a = 3;
8     foo(&a as *const _ as *const ());
9 }