public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] tests/attr_cold: fix a typo
@ 2022-06-08 12:36 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:36 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:49c0eeb670ecd6100074dd71600a37d93a85c429

commit 49c0eeb670ecd6100074dd71600a37d93a85c429
Author: liushuyu <liushuyu011@gmail.com>
Date:   Fri Apr 22 05:25:25 2022 -0600

    tests/attr_cold: fix a typo

Diff:
---
 gcc/testsuite/rust/compile/attr_cold.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/rust/compile/attr_cold.rs b/gcc/testsuite/rust/compile/attr_cold.rs
index 883d2f81932..f705ea9b2ff 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:36 [gcc/devel/rust/master] tests/attr_cold: fix a typo Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).