[AUTO-GENERATED] Migrate ui tests from //
to //@
directives
This commit is contained in:
parent
e53d6dd35b
commit
ec2cc761bc
9925 changed files with 16397 additions and 16397 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue