diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/specialization/issue-63716-parse-async.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/specialization/issue-63716-parse-async.rs b/src/test/ui/specialization/issue-63716-parse-async.rs new file mode 100644 index 000000000..10f185c33 --- /dev/null +++ b/src/test/ui/specialization/issue-63716-parse-async.rs @@ -0,0 +1,14 @@ +// Ensure that `default async fn` will parse. +// See issue #63716 for details. + +// check-pass +// edition:2018 + +#![feature(specialization)] //~ WARN the feature `specialization` is incomplete + +fn main() {} + +#[cfg(FALSE)] +impl Foo for Bar { + default async fn baz() {} +} |