Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
ac80212f7e973ccd57ed41137e2ec38db6fbde1f
rust/tests/compile-fail/oom.rs

8 lines
170 B
Rust
Raw Normal View History

rustc now can use integer literals in attributes
2016-09-07 10:27:57 +02:00
#![feature(custom_attribute, attr_literals)]
test suite now also passes on MIR-libstd Also enable some tests that were disabled for no apparant reason. (The comment in zst.rs was wrong, the test was disabled also for miri execution.) Delete env_args test as the args can actually be queried with MIR-libstd (currently, they are always empty)
2017-05-26 20:27:39 -07:00
#![miri(memory_size=4095)]
test the memory limit
2016-07-05 13:04:53 +02:00
change the block and stmt position after a function call returns previously we moved to the target block *before* calling a function, so when inspecting the stack, it appeared as if we were in the first statement of the next block.
2016-07-06 17:55:05 +02:00
fn main() {
test suite now also passes on MIR-libstd Also enable some tests that were disabled for no apparant reason. (The comment in zst.rs was wrong, the test was disabled also for miri execution.) Delete env_args test as the args can actually be queried with MIR-libstd (currently, they are always empty)
2017-05-26 20:27:39 -07:00
let _x = [42; 1024];
//~^ERROR tried to allocate 4096 more bytes, but only
test the memory limit
2016-07-05 13:04:53 +02:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 217ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API