[flang-commits] [flang] [flang] Fix buildbot failure after #152914 (PR #153578)
via flang-commits
flang-commits at lists.llvm.org
Thu Aug 14 07:00:58 PDT 2025
https://github.com/parabola94 updated https://github.com/llvm/llvm-project/pull/153578
>From 951f35b151d910412c0cef9ddc58a664904ebea7 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 | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/flang/test/Integration/iso-fortran-binding.cpp b/flang/test/Integration/iso-fortran-binding.cpp
index 36ae35d9d29f7..11f5c33bf14f2 100644
--- a/flang/test/Integration/iso-fortran-binding.cpp
+++ b/flang/test/Integration/iso-fortran-binding.cpp
@@ -1,17 +1,9 @@
// 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
+int main() { return 0; }
More information about the flang-commits
mailing list