]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: gnat.dg: fix dg-do directive syntax
authorSam James <sam@gentoo.org>
Fri, 4 Oct 2024 02:15:28 +0000 (03:15 +0100)
committerSam James <sam@gentoo.org>
Fri, 4 Oct 2024 03:35:14 +0000 (04:35 +0100)
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.

gcc/testsuite/gnat.dg/pack13.adb
gcc/testsuite/gnat.dg/size_attribute.adb
gcc/testsuite/gnat.dg/subp_elim_errors.adb

index dd9cb09cf7b6051af4738fe652b6d2ef31596f96..6581a53f99870929f922f2cf5f1ed1c58c8ba33b 100644 (file)
@@ -1,4 +1,4 @@
--- [ dg-do compile }
+-- { dg-do compile }
 
 package body Pack13 is
 
index 25642e0b0aad86413b92780ba62d73218c7d1d52..ec655f67a868a1cdf2f6d699577b1a4b6ddea685 100644 (file)
@@ -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;
index 669e8772117e228b1b19562b27208a8a86e3d0ea..1b8c3f23054dd33e7ca578eee0616f7dfc9284b7 100644 (file)
@@ -1,4 +1,4 @@
--- [ dg-do compile }
+-- { dg-do compile }
 
 with System;