mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
11 lines
126 B
Rust
11 lines
126 B
Rust
//@ check-pass
|
|
|
|
struct S;
|
|
|
|
impl S {
|
|
const C: &&str = &"";
|
|
// Now resolves to `&'static &'static str`.
|
|
}
|
|
|
|
fn main() {}
|