diff options
| author | ecstatic-morse <ecstaticmorse@gmail.com> | 2020-10-04 13:25:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-04 13:25:45 -0700 |
| commit | 6ae1da3198bd2d110652900082800e01a8e37149 (patch) | |
| tree | ffb63f6ad7e9bb8aae023cbb106fa89b4ae8bdef | |
| parent | fe97990e2395d46aceb9472fd04704c623c8eb0e (diff) | |
| download | rust-6ae1da3198bd2d110652900082800e01a8e37149.tar.gz rust-6ae1da3198bd2d110652900082800e01a8e37149.zip | |
But whatever
| -rw-r--r-- | src/test/ui/consts/const-eval/unwind-abort.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/consts/const-eval/unwind-abort.rs b/src/test/ui/consts/const-eval/unwind-abort.rs index 146c841bf1f..b8b95dea1e7 100644 --- a/src/test/ui/consts/const-eval/unwind-abort.rs +++ b/src/test/ui/consts/const-eval/unwind-abort.rs @@ -6,6 +6,7 @@ const fn foo() { } const _: () = foo(); //~ any use of this value will cause an error +// Ensure that the CTFE engine handles calls to `#[unwind(aborts)]` gracefully fn main() { let _ = foo(); |
