[clang] 9e883b4 - [clang][test] Add missing FileCheck pipe in cxx20-module-directive.cpp (#185315)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 9 05:09:29 PDT 2026
Author: Fady Farag
Date: 2026-03-09T08:09:25-04:00
New Revision: 9e883b4410415f6c544a8292bba22f350be9908a
URL: https://github.com/llvm/llvm-project/commit/9e883b4410415f6c544a8292bba22f350be9908a
DIFF: https://github.com/llvm/llvm-project/commit/9e883b4410415f6c544a8292bba22f350be9908a.diff
LOG: [clang][test] Add missing FileCheck pipe in cxx20-module-directive.cpp (#185315)
The test had CHECK directives that were never executed because the RUN
line did not pipe output to FileCheck.
Added:
Modified:
clang/test/Lexer/cxx20-module-directive.cpp
Removed:
################################################################################
diff --git a/clang/test/Lexer/cxx20-module-directive.cpp b/clang/test/Lexer/cxx20-module-directive.cpp
index e420ff4b11407..10379ba9867b9 100644
--- a/clang/test/Lexer/cxx20-module-directive.cpp
+++ b/clang/test/Lexer/cxx20-module-directive.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -E -std=c++20 %s
+// RUN: %clang_cc1 -E -std=c++20 %s | FileCheck %s
// CHECK: export __preprocessed_module M;
// CHECK-NEXT: export __preprocessed_import K;
More information about the cfe-commits
mailing list