File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
tests/run-make/reset-codegen-1 Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,20 @@ fn main() {
2828 ( "link-output" , Some ( "link" ) ) ,
2929 ( "obj-output" , Some ( "obj" ) ) ,
3030 ( "dep-output" , Some ( "dep-info" ) ) ,
31- ( "multi-output" , Some ( "asm,obj" ) ) ,
3231 ] ;
3332 for ( output_file, emit) in flags {
3433 fs:: remove_file ( output_file) . unwrap_or_default ( ) ;
3534 compile ( output_file, emit) ;
36- fs:: remove_file ( output_file) ;
35+ eprintln ! ( "{output_file}" ) ;
36+ fs:: remove_file ( output_file) . unwrap ( ) ;
37+ }
38+
39+ {
40+ // multi-output has two output artifacts with extensions.
41+ fs:: remove_file ( "multi-output.s" ) . unwrap_or_default ( ) ;
42+ fs:: remove_file ( "multi-output.o" ) . unwrap_or_default ( ) ;
43+ compile ( "multi-output" , Some ( "asm,obj" ) ) ;
44+ fs:: remove_file ( "multi-output.s" ) . unwrap ( ) ;
45+ fs:: remove_file ( "multi-output.o" ) . unwrap ( ) ;
3746 }
3847}
You can’t perform that action at this time.
0 commit comments