[AUTO-GENERATED] Migrate ui tests from // to //@ directives

This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-02-16 20:02:50 +00:00
parent e53d6dd35b
commit ec2cc761bc
No known key found for this signature in database
GPG key ID: 95DDEBD74A1DC2C0
9925 changed files with 16397 additions and 16397 deletions

View file

@ -1,4 +1,4 @@
// no-prefer-dynamic
//@ no-prefer-dynamic
#![crate_type = "rlib"]
#![no_std]

View file

@ -1,4 +1,4 @@
// no-prefer-dynamic
//@ no-prefer-dynamic
// This aux-file will require the eh_personality function to be codegen'd, but
// it hasn't been defined just yet. Make sure we don't explode.

View file

@ -1,4 +1,4 @@
// compile-flags:-C panic=abort
//@ compile-flags:-C panic=abort
#![no_std]
#![no_main]

View file

@ -1,4 +1,4 @@
// compile-flags:-C panic=abort
//@ compile-flags:-C panic=abort
#![no_std]
#![no_main]

View file

@ -1,4 +1,4 @@
// compile-flags:-C panic=abort
//@ compile-flags:-C panic=abort
#![no_std]
#![no_main]

View file

@ -1,4 +1,4 @@
// compile-flags:-C panic=abort
//@ compile-flags:-C panic=abort
#![no_std]
#![no_main]

View file

@ -1,4 +1,4 @@
// compile-flags:-C panic=abort
//@ compile-flags:-C panic=abort
#![no_std]
#![no_main]

View file

@ -1,4 +1,4 @@
// compile-flags:-C panic=abort
//@ compile-flags:-C panic=abort
#![feature(lang_items)]
#![no_std]

View file

@ -1,5 +1,5 @@
// dont-check-compiler-stderr
// error-pattern: `#[panic_handler]` function required, but not found
//@ dont-check-compiler-stderr
//@ error-pattern: `#[panic_handler]` function required, but not found
#![feature(lang_items)]
#![no_main]

View file

@ -1,4 +1,4 @@
// compile-flags:-C panic=abort
//@ compile-flags:-C panic=abort
#![feature(lang_items)]
#![feature(no_core)]

View file

@ -1,5 +1,5 @@
// normalize-stderr-test "loaded from .*libstd-.*.rlib" -> "loaded from SYSROOT/libstd-*.rlib"
// error-pattern: found duplicate lang item `panic_impl`
//@ normalize-stderr-test "loaded from .*libstd-.*.rlib" -> "loaded from SYSROOT/libstd-*.rlib"
//@ error-pattern: found duplicate lang item `panic_impl`
use std::panic::PanicInfo;

View file

@ -1,5 +1,5 @@
// dont-check-compiler-stderr
// aux-build:some-panic-impl.rs
//@ dont-check-compiler-stderr
//@ aux-build:some-panic-impl.rs
#![feature(lang_items)]
#![no_std]

View file

@ -1,5 +1,5 @@
// compile-flags:-C panic=abort
// only-x86_64
//@ compile-flags:-C panic=abort
//@ only-x86_64
#![feature(target_feature_11)]
#![no_std]

View file

@ -1,4 +1,4 @@
// compile-flags:-C panic=abort
//@ compile-flags:-C panic=abort
#![no_std]
#![no_main]

View file

@ -1,7 +1,7 @@
// run-pass
// aux-build:weak-lang-items.rs
//@ run-pass
//@ aux-build:weak-lang-items.rs
// pretty-expanded FIXME #23616
//@ pretty-expanded FIXME #23616
extern crate weak_lang_items as other;

View file

@ -1,8 +1,8 @@
// aux-build:weak-lang-items.rs
// error-pattern: `#[panic_handler]` function required, but not found
// error-pattern: unwinding panics are not supported without std
// needs-unwind since it affects the error output
// ignore-emscripten missing eh_catch_typeinfo lang item
//@ aux-build:weak-lang-items.rs
//@ error-pattern: `#[panic_handler]` function required, but not found
//@ error-pattern: unwinding panics are not supported without std
//@ needs-unwind since it affects the error output
//@ ignore-emscripten missing eh_catch_typeinfo lang item
#![no_std]