rust/tests/ui/issues/issue-24389.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
135 B
Rust
Raw Normal View History

// check-pass
2015-09-28 12:39:29 -05:00
#![allow(dead_code)]
struct Foo;
impl Foo {
fn new() -> Self { Foo }
fn bar() { Self::new(); }
}
fn main() {}