forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// The crate "foo" tied to this test executes a very specific function, | ||
// which involves boxing an instance of the struct Foo. However, | ||
// this once caused a segmentation fault in cargo release builds due to an LLVM | ||
// incorrect assertion. | ||
// This test checks that this bug does not resurface. | ||
// See https://github.com/rust-lang/rust/issues/28766 | ||
|
||
use run_make_support::{rustc, tmp_dir}; | ||
|
||
fn main() { | ||
rustc().opt().input("foo.rs").run(); | ||
rustc().opt().library_search_path(tmp_dir()).input("main.rs").run(); | ||
} |
This file was deleted.
Oops, something went wrong.