xref: /llvm-project/clang/test/Modules/preprocess-named-modules.cppm (revision 288f688e294a0d2ee162f99f745c06d1e95d3620)
1*288f688eSChuanqi Xu// Tests tht when we preprocess a source, the compiler won't
2*288f688eSChuanqi Xu// require to load the named modules after import.
3*288f688eSChuanqi Xu//
4*288f688eSChuanqi Xu// RUN: %clang_cc1 -std=c++20 -E %s -o - | FileCheck %s
5*288f688eSChuanqi Xuimport non_exist_modules;
6*288f688eSChuanqi Xu
7*288f688eSChuanqi Xu// CHECK: import non_exist_modules;
8