File tree 1 file changed +11
-2
lines changed
tests/run-make/reset-codegen-1
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,20 @@ fn main() {
28
28
( "link-output" , Some ( "link" ) ) ,
29
29
( "obj-output" , Some ( "obj" ) ) ,
30
30
( "dep-output" , Some ( "dep-info" ) ) ,
31
- ( "multi-output" , Some ( "asm,obj" ) ) ,
32
31
] ;
33
32
for ( output_file, emit) in flags {
34
33
fs:: remove_file ( output_file) . unwrap_or_default ( ) ;
35
34
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 ( ) ;
37
46
}
38
47
}
You can’t perform that action at this time.
0 commit comments