2023-12-16 16:24:25 +01:00
|
|
|
//@ check-pass
|
|
|
|
|
|
2023-11-30 15:01:11 +11:00
|
|
|
// This is a regression test for a `span_delayed_bug` during interning when a constant
|
2023-12-16 16:24:25 +01:00
|
|
|
// evaluates to a (non-dangling) raw pointer.
|
2020-04-29 10:00:22 +02:00
|
|
|
|
|
|
|
|
const CONST_RAW: *const Vec<i32> = &Vec::new() as *const _;
|
|
|
|
|
|
|
|
|
|
fn main() {}
|