A recent update to the COBOL syntax checker resulted in this test case
failing, so it needed to be fixed.

>From f6c187a4f34b6925196279fd623f9f1396385a18 Mon Sep 17 00:00:00 2001
From: Robert Dubner mailto:rdub...@symas.com
Date: Tue, 1 Jul 2025 11:07:18 -0400
Subject: [PATCH] cobol: Update test case for intrinsic function syntax.

gcc/testsuite/ChangeLog:

        * cobol.dg/group2/Intrinsics_without_FUNCTION_keyword__2_.cob:
        Append INTRINSIC keyword.
---
 .../group2/Intrinsics_without_FUNCTION_keyword__2_.cob        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git
a/gcc/testsuite/cobol.dg/group2/Intrinsics_without_FUNCTION_keyword__2_.co
b
b/gcc/testsuite/cobol.dg/group2/Intrinsics_without_FUNCTION_keyword__2_.co
b
index b94adf58026..39a0c5b33da 100644
---
a/gcc/testsuite/cobol.dg/group2/Intrinsics_without_FUNCTION_keyword__2_.co
b
+++
b/gcc/testsuite/cobol.dg/group2/Intrinsics_without_FUNCTION_keyword__2_.co
b
@@ -5,8 +5,8 @@
        ENVIRONMENT      DIVISION.
        CONFIGURATION    SECTION.
        REPOSITORY.
-           FUNCTION     PI
-           FUNCTION     E.
+           FUNCTION     PI INTRINSIC
+           FUNCTION     E  INTRINSIC.
        DATA             DIVISION.
        WORKING-STORAGE  SECTION.
        01  Z            PIC 99V99.
-- 
2.34.1

Reply via email to