summary refs log tree commit diff
path: root/src/test/ui/specialization/issue-63716-parse-async.rs
blob: c3764ffaab83fd1f74867914e25fb7411d013be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Ensure that `default async fn` will parse.
// See issue #63716 for details.

// check-pass
// edition:2018

#![feature(specialization)]

fn main() {}

#[cfg(FALSE)]
impl Foo for Bar {
    default async fn baz() {}
}