diff options
Diffstat (limited to 'tests/ui/alloc-error')
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.rs b/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.rs index cd06423e3a5..a50535ab726 100644 --- a/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.rs +++ b/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.rs @@ -1,4 +1,4 @@ -// compile-flags:-C panic=abort +//@ compile-flags:-C panic=abort #![feature(alloc_error_handler)] #![no_std] diff --git a/tests/ui/alloc-error/alloc-error-handler-bad-signature-2.rs b/tests/ui/alloc-error/alloc-error-handler-bad-signature-2.rs index 4f76257fc72..4bd4ab4570c 100644 --- a/tests/ui/alloc-error/alloc-error-handler-bad-signature-2.rs +++ b/tests/ui/alloc-error/alloc-error-handler-bad-signature-2.rs @@ -1,4 +1,4 @@ -// compile-flags:-C panic=abort +//@ compile-flags:-C panic=abort #![feature(alloc_error_handler)] #![no_std] diff --git a/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.rs b/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.rs index ea9ad39a70d..f0985d74456 100644 --- a/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.rs +++ b/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.rs @@ -1,4 +1,4 @@ -// compile-flags:-C panic=abort +//@ compile-flags:-C panic=abort #![feature(alloc_error_handler)] #![no_std] diff --git a/tests/ui/alloc-error/default-alloc-error-hook.rs b/tests/ui/alloc-error/default-alloc-error-hook.rs index 8be09500f4e..a8a2027cc45 100644 --- a/tests/ui/alloc-error/default-alloc-error-hook.rs +++ b/tests/ui/alloc-error/default-alloc-error-hook.rs @@ -1,6 +1,6 @@ -// run-pass -// ignore-emscripten no processes -// ignore-sgx no processes +//@ run-pass +//@ ignore-emscripten no processes +//@ ignore-sgx no processes use std::alloc::{Layout, handle_alloc_error}; use std::env; |
