14 lines · cpp
1// RUN: rm -rf %t2// RUN: split-file %s %t3// RUN: cd %t4 5// Related to issue #1326926// Verify that clang_cc1 doesn't crash when trying to generate a module7// interface from an alreay precompiled module (`.pcm`).8// RUN: %clang_cc1 -std=c++20 -emit-module-interface a.cppm -o a.pcm9// RUN: not %clang_cc1 -std=c++20 -emit-module-interface a.pcm10// RUN: not %clang_cc1 -std=c++20 -emit-reduced-module-interface a.pcm11 12//--- a.cppm13export module A;14