Closed
Description
pub static A: &'static [int] = &[];
pub fn main() {
}
Assertion failed!
Program: d:\usr\rust\bin\rustc.exe
File: c:/bot/slave/nightly-win/build/src/llvm/lib/MC/WinCOFFObjectWriter.cpp, Line 224
Expression: Section->Number != -1 && "Sections with relocations must be real!"
Original: rustc --test empty.rs
triggers LLVM assertion error on windows
$ touch empty.rs
$ rustc --test empty.rs
Assertion failed!
Program: c:\home\stone\rust-vanilla\build\i686-pc-mingw32\stage2\bin\rustc.exe
File: c:/home/stone/rust-vanilla/src/llvm/lib/MC/WinCOFFObjectWriter.cpp, Line 222
Expression: Section->Number != -1 && "Sections with relocations must be real!"
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.