bolt/deps/llvm-18.1.8/clang/test/Modules/preprocess-named-modules.cppm

8 lines
234 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01:00
// Tests tht when we preprocess a source, the compiler won't
// require to load the named modules after import.
//
// RUN: %clang_cc1 -std=c++20 -E %s -o - | FileCheck %s
import non_exist_modules;
// CHECK: import non_exist_modules;