1
Fork 0

[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,12 +1,12 @@
#![allow(arithmetic_overflow)]
// run-fail
// error-pattern: overflow
// compile-flags: -C overflow-checks=yes
//@ run-fail
//@ error-pattern: overflow
//@ compile-flags: -C overflow-checks=yes
// for some reason, fails to match error string on
// wasm32-unknown-unknown with stripped debuginfo and symbols,
// so don't strip it
// compile-flags:-Cstrip=none
//@ compile-flags:-Cstrip=none
fn main() {
let x: &'static u32 = &(0u32 - 1);