diff options
Diffstat (limited to 'tests/ui/consts/closure-structural-match-issue-90013.rs')
-rw-r--r-- | tests/ui/consts/closure-structural-match-issue-90013.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/consts/closure-structural-match-issue-90013.rs b/tests/ui/consts/closure-structural-match-issue-90013.rs new file mode 100644 index 000000000..1952ddb94 --- /dev/null +++ b/tests/ui/consts/closure-structural-match-issue-90013.rs @@ -0,0 +1,7 @@ +// Regression test for issue 90013. +// check-pass +#![feature(inline_const)] + +fn main() { + const { || {} }; +} |