[pushed] testsuite: fix dh-warning typo.

Message ID 193c63d9-42f3-8f8f-77a6-8d439a432567@suse.cz
State New
Headers show
Series
  • [pushed] testsuite: fix dh-warning typo.
Related show

Commit Message

Martin Liška Jan. 14, 2022, 3:16 p.m.
gcc/testsuite/ChangeLog:

	* c-c++-common/Walloca-larger-than.c: Fix typo.
---
  gcc/testsuite/c-c++-common/Walloca-larger-than.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.34.1

Patch

diff --git a/gcc/testsuite/c-c++-common/Walloca-larger-than.c b/gcc/testsuite/c-c++-common/Walloca-larger-than.c
index 464ea242a7a..e7851eabb46 100644
--- a/gcc/testsuite/c-c++-common/Walloca-larger-than.c
+++ b/gcc/testsuite/c-c++-common/Walloca-larger-than.c
@@ -16,6 +16,6 @@  void warn_alloca_too_large (void)
  {
    sink (alloca (1));
    sink (alloca (128));
-  sink (alloca (129));    // { dh-warning "\\\[-Walloca-larger-than" }
-  sink (alloca (1024));   // { dh-warning "\\\[-Walloca-larger-than" }
+  sink (alloca (129));    // { dg-warning "\\\[-Walloca-larger-than" }
+  sink (alloca (1024));   // { dg-warning "\\\[-Walloca-larger-than" }
  }