Skip to content

Commit 49c0eeb

Browse files
committed
tests/attr_cold: fix a typo
1 parent 1286acc commit 49c0eeb

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)