https://github.com/iidmsa created 
https://github.com/llvm/llvm-project/pull/183965

The test had CHECK directives that were never executed because the RUN line did 
not pipe the output to FileCheck.

>From 7b9979271cea690d1146e9945cab6db65479d5fc Mon Sep 17 00:00:00 2001
From: Fady Farag <[email protected]>
Date: Sat, 28 Feb 2026 16:57:05 -0600
Subject: [PATCH] [clang][test] Add missing FileCheck pipe in n1311.c

The test had CHECK directives that were never executed because the
RUN line did not pipe output to FileCheck.
---
 clang/test/C/C11/n1311.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/C/C11/n1311.c b/clang/test/C/C11/n1311.c
index 8ceee74e43af6..fd6cb6a9b09db 100644
--- a/clang/test/C/C11/n1311.c
+++ b/clang/test/C/C11/n1311.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 
 /* WG14 N1311: Yes
  * Initializing static or external variables

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to