diff mbox series

[COMMITTED] testsuite: gnat.dg: fix dg-do directive syntax

Message ID 68d88d9b68f5b8a952ded65607af32f9244c8d87.1728012977.git.sam@gentoo.org
State New
Headers show
Series [COMMITTED] testsuite: gnat.dg: fix dg-do directive syntax | expand

Commit Message

Sam James Oct. 4, 2024, 3:36 a.m. UTC
Fix incorrect use of '[' rather than '{' in 'dg-...' directives.

gcc/testsuite/ChangeLog:

	* gnat.dg/pack13.adb: Fix 'dg-...' directive syntax.
	* gnat.dg/size_attribute.adb: Ditto.
	* gnat.dg/subp_elim_errors.adb: Ditto.
---
Committed as obvious.

 gcc/testsuite/gnat.dg/pack13.adb           | 2 +-
 gcc/testsuite/gnat.dg/size_attribute.adb   | 2 +-
 gcc/testsuite/gnat.dg/subp_elim_errors.adb | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/gcc/testsuite/gnat.dg/pack13.adb b/gcc/testsuite/gnat.dg/pack13.adb
index dd9cb09cf7b6..6581a53f9987 100644
--- a/gcc/testsuite/gnat.dg/pack13.adb
+++ b/gcc/testsuite/gnat.dg/pack13.adb
@@ -1,4 +1,4 @@ 
--- [ dg-do compile }
+-- { dg-do compile }
 
 package body Pack13 is
 
diff --git a/gcc/testsuite/gnat.dg/size_attribute.adb b/gcc/testsuite/gnat.dg/size_attribute.adb
index 25642e0b0aad..ec655f67a868 100644
--- a/gcc/testsuite/gnat.dg/size_attribute.adb
+++ b/gcc/testsuite/gnat.dg/size_attribute.adb
@@ -1,5 +1,5 @@ 
 -- PR middle-end/35823
--- { dg-do compile ]
+-- { dg-do compile }
 
 procedure Size_Attribute (Arg : in String) is
    Size : constant Natural := Arg'Size;
diff --git a/gcc/testsuite/gnat.dg/subp_elim_errors.adb b/gcc/testsuite/gnat.dg/subp_elim_errors.adb
index 669e8772117e..1b8c3f23054d 100644
--- a/gcc/testsuite/gnat.dg/subp_elim_errors.adb
+++ b/gcc/testsuite/gnat.dg/subp_elim_errors.adb
@@ -1,4 +1,4 @@ 
--- [ dg-do compile }
+-- { dg-do compile }
 
 with System;