-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zero-length static array triggers LLVM assertion error on windows #13793
Comments
cc #10872 |
rustc --test empty.rs
triggers LLVM assertion error on windows
Updated title and minimal example. (was:
|
Other example: fn f(_a: &[int]) {
}
fn main() {
static A: [int, ..0u] = [];
f(A); // triggers assertion
} This example is derived from |
Interestingly, if you go from Maybe we've set up LLVM incorrectly? |
upstream llvm bug: http://llvm.org/bugs/show_bug.cgi?id=18993 |
Original:
rustc --test empty.rs
triggers LLVM assertion error on windowsThe text was updated successfully, but these errors were encountered: