[clang] eb8f171 - [clang][test] Add missing FileCheck pipe in n1311.c (#183965)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 2 06:34:12 PST 2026
Author: Fady Farag
Date: 2026-03-02T09:34:05-05:00
New Revision: eb8f171629730ed73004afd5c535c696fcd5191d
URL: https://github.com/llvm/llvm-project/commit/eb8f171629730ed73004afd5c535c696fcd5191d
DIFF: https://github.com/llvm/llvm-project/commit/eb8f171629730ed73004afd5c535c696fcd5191d.diff
LOG: [clang][test] Add missing FileCheck pipe in n1311.c (#183965)
The test had CHECK directives that were never executed because the RUN
line did not pipe the output to FileCheck.
Added:
Modified:
clang/test/C/C11/n1311.c
Removed:
################################################################################
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