[flang-commits] [flang] [flang] Fix buildbot failure after #152914 (PR #153578)

via flang-commits flang-commits at lists.llvm.org
Thu Aug 14 06:55:28 PDT 2025


https://github.com/parabola94 created https://github.com/llvm/llvm-project/pull/153578

Integration/iso-fortran-binding.cpp does not need execution, so removed it.

Buildbot failure: https://lab.llvm.org/buildbot/#/builders/201/builds/5894

>From d04fdf11835d663614034345cd4d39a512377acc Mon Sep 17 00:00:00 2001
From: parabola94 <heavybaby5000 at toki.waseda.jp>
Date: Thu, 14 Aug 2025 22:47:00 +0900
Subject: [PATCH] Only perform semantic analysis for
 Integration/iso-fortran-binding.cpp

---
 flang/test/Integration/iso-fortran-binding.cpp | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/flang/test/Integration/iso-fortran-binding.cpp b/flang/test/Integration/iso-fortran-binding.cpp
index 36ae35d9d29f7..390bfd390aedb 100644
--- a/flang/test/Integration/iso-fortran-binding.cpp
+++ b/flang/test/Integration/iso-fortran-binding.cpp
@@ -1,17 +1,11 @@
 // REQUIRES: clang
 // UNSUPPORTED: system-windows
-// RUN: rm -rf %t && mkdir %t
-// RUN: %clangxx %isysroot -I%flang_include %s -o %t/a.out
-// RUN: %t/a.out | FileCheck %s
+// RUN: %clang_cc1 -fsyntax-only -I%flang_include %s -x c++
 
 extern "C" {
 #include "ISO_Fortran_binding.h"
 }
-#include <iostream>
 
 int main() {
-  std::cout << "PASS\n";
   return 0;
 }
-
-// CHECK: PASS



More information about the flang-commits mailing list