diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-04-25 10:01:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 10:01:03 +0000 |
commit | bbbd15a4a137ac096edfbe5bfe7885b91037f128 (patch) | |
tree | a6af7bd1cea1f2c1f54c798541fbddbe98714c66 | |
parent | f562d738ef93964af16d0450fe56f2e84664efed (diff) | |
parent | 49c0eeb670ecd6100074dd71600a37d93a85c429 (diff) | |
download | gcc-bbbd15a4a137ac096edfbe5bfe7885b91037f128.zip gcc-bbbd15a4a137ac096edfbe5bfe7885b91037f128.tar.gz gcc-bbbd15a4a137ac096edfbe5bfe7885b91037f128.tar.bz2 |
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>
-rw-r--r-- | gcc/testsuite/rust/compile/attr_cold.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/rust/compile/attr_cold.rs b/gcc/testsuite/rust/compile/attr_cold.rs index 883d2f8..f705ea9 100644 --- a/gcc/testsuite/rust/compile/attr_cold.rs +++ b/gcc/testsuite/rust/compile/attr_cold.rs @@ -1,11 +1,11 @@ -// { dg-additional-options "-fdump-tree-gimple } +// { dg-additional-options "-fdump-tree-gimple" } #[cold] fn cold_function() -> i32 { 42 } fn main() -> i32 { - // { dg-final { scan-tree-dump-times {__attribute__((cdecl, cold))} 1 gimple } } + // { dg-final { scan-tree-dump-times {__attribute__\(\(cdecl, cold\)\)} 1 gimple } } cold_function(); 0 |