[clang] [clang][test] Add missing FileCheck pipe in n1311.c (PR #183965)
Fady Farag via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 28 15:00:44 PST 2026
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 <com.webkit.iidmsa at gmail.com>
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
More information about the cfe-commits
mailing list