Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 251 Bytes
// build-pass (FIXME(62277): could be check-pass?)
// tests that the following code compiles, but produces a future-compatibility warning
fn main() {
let data = std::ptr::null();
let _ = &data as *const *const ();
if data.is_null() {}
You can’t perform that action at this time.