2 // Tests that the tail expr in null() has its type
3 // unified with the type *T, and so the type variable
4 // in that type gets resolved.
6 // pretty-expanded FIXME #23616
10 fn null<T>() -> *const T {
12 mem::transmute(0_usize)
16 pub fn main() { null::<isize>(); }