rust/tests/ui/type-ptr.rs
2024-02-16 20:02:50 +00:00

11 lines
215 B
Rust

//@ run-pass
#![allow(dead_code)]
//@ pretty-expanded FIXME #23616
fn f(a: *const isize) -> *const isize { return a; }
fn g(a: *const isize) -> *const isize { let b = f(a); return b; }
pub fn main() { return; }