tests/attr_cold: fix a typo

This commit is contained in:
liushuyu 2022-04-22 05:25:25 -06:00
parent 1286acc34e
commit 49c0eeb670
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
1 changed files with 2 additions and 2 deletions

View File

@ -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