about summary refs log tree commit diff
path: root/tests/ui/extern-flag/empty-extern-arg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/extern-flag/empty-extern-arg.rs')
-rw-r--r--tests/ui/extern-flag/empty-extern-arg.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/ui/extern-flag/empty-extern-arg.rs b/tests/ui/extern-flag/empty-extern-arg.rs
index dea68b5b1ad..2dee721ed03 100644
--- a/tests/ui/extern-flag/empty-extern-arg.rs
+++ b/tests/ui/extern-flag/empty-extern-arg.rs
@@ -1,6 +1,9 @@
+//~ ERROR extern location for std does not exist
 //@ compile-flags: --extern std=
-//@ error-pattern: extern location for std does not exist
 //@ needs-unwind since it affects the error output
 //@ ignore-emscripten missing eh_catch_typeinfo lang item
 
 fn main() {}
+
+//~? ERROR `#[panic_handler]` function required, but not found
+//~? ERROR unwinding panics are not supported without std