Skip to content

Commit bbbd15a

Browse files
bors[bot]liushuyu
andauthored
Merge #1156
1156: tests/attr_cold: fix a typo r=philberty a=liushuyu - fix a typo in the `rust/compile/attr_cold.rs` file Co-authored-by: liushuyu <liushuyu011@gmail.com>
2 parents f562d73 + 49c0eeb commit bbbd15a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gcc/testsuite/rust/compile/attr_cold.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// { dg-additional-options "-fdump-tree-gimple }
1+
// { dg-additional-options "-fdump-tree-gimple" }
22
#[cold]
33
fn cold_function() -> i32 {
44
42
55
}
66

77
fn main() -> i32 {
8-
// { dg-final { scan-tree-dump-times {__attribute__((cdecl, cold))} 1 gimple } }
8+
// { dg-final { scan-tree-dump-times {__attribute__\(\(cdecl, cold\)\)} 1 gimple } }
99
cold_function();
1010

1111
0

0 commit comments

Comments
 (0)