
Close https://github.com/llvm/llvm-project/issues/101398 The root cause of the issue is that I removed the codes before and failed to recognize it in time and this was not found for a long time due to it only crashes with invalid codes.
6 lines
206 B
C++
6 lines
206 B
C++
// RUN: mkdir -p %t
|
|
// RUN: %clang -std=c++20 -xc++-module %s -Xclang -verify --precompile -o %t/tmp.pcm
|
|
// not modules
|
|
|
|
// expected-error@* {{missing 'export module' declaration in module interface unit}}
|