2022-09-21 10:02:15 -05:00
|
|
|
// check-pass
|
|
|
|
|
2022-12-11 23:42:45 -06:00
|
|
|
#![feature(const_trait_impl, lazy_cell)]
|
2022-09-21 10:02:15 -05:00
|
|
|
|
|
|
|
use std::sync::LazyLock;
|
|
|
|
|
|
|
|
static EXTERN_FLAGS: LazyLock<String> = LazyLock::new(|| {
|
|
|
|
let x = || String::new();
|
|
|
|
x()
|
|
|
|
});
|
|
|
|
|
|
|
|
fn main() {}
|