Skip to content

Commit f2f7ace

Browse files
committed
Update codegen/link_section.rs.
1 parent 12ff05f commit f2f7ace

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/codegen/link_section.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ pub enum E {
2222
B(f32)
2323
}
2424

25-
// CHECK: @VAR2 = constant {{.*}} { i32 0, i32 666, {{.*}} }, section ".test_two"
25+
// CHECK: @VAR2 = constant {{.*}} { i32 0, i32 666 }, section ".test_two"
2626
#[no_mangle]
2727
#[link_section = ".test_two"]
2828
pub static VAR2: E = E::A(666);
2929

30-
// CHECK: @VAR3 = constant {{.*}} { i32 1, float 1.000000e+00, {{.*}} }, section ".test_three"
30+
// CHECK: @VAR3 = constant {{.*}} { i32 1, float 1.000000e+00 }, section ".test_three"
3131
#[no_mangle]
3232
#[link_section = ".test_three"]
3333
pub static VAR3: E = E::B(1.);

0 commit comments

Comments
 (0)