File tree Expand file tree Collapse file tree 5 files changed +13
-6
lines changed Expand file tree Collapse file tree 5 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ run-make/issue-25581/Makefile
103103run-make/issue-26006/Makefile
104104run-make/issue-26092/Makefile
105105run-make/issue-28595/Makefile
106- run-make/issue-28766/Makefile
107106run-make/issue-30063/Makefile
108107run-make/issue-33329/Makefile
109108run-make/issue-35164/Makefile
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ // The crate "foo" tied to this test executes a very specific function,
2+ // which involves boxing an instance of the struct Foo. However,
3+ // this once caused a segmentation fault in cargo release builds due to an LLVM
4+ // incorrect assertion.
5+ // This test checks that this bug does not resurface.
6+ // See https://github.com/rust-lang/rust/issues/28766
7+
8+ use run_make_support:: { rustc, tmp_dir} ;
9+
10+ fn main ( ) {
11+ rustc ( ) . opt ( ) . input ( "foo.rs" ) . run ( ) ;
12+ rustc ( ) . opt ( ) . library_search_path ( tmp_dir ( ) ) . input ( "main.rs" ) . run ( ) ;
13+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments