]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-ptr.rs
Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree
[rust.git] / src / test / ui / type-ptr.rs
1 // run-pass
2
3 #![allow(dead_code)]
4 // pretty-expanded FIXME #23616
5
6 fn f(a: *const isize) -> *const isize { return a; }
7
8 fn g(a: *const isize) -> *const isize { let b = f(a); return b; }
9
10 pub fn main() { return; }