mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-13 17:37:00 +00:00

Close https://github.com/llvm/llvm-project/issues/59287 This is addressed in D137526 but I forgot to add a test for it.
8 lines
234 B
C++
8 lines
234 B
C++
// 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;
|