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