Debian Codegraph @

clang/test/Modules/emit-module-interface-pcm-input.cpp

raw
1 // RUN: rm -rf %t
2 // RUN: split-file %s %t
3 // RUN: cd %t
4
5 // Related to issue #132692
6 // Verify that clang_cc1 doesn't crash when trying to generate a module
7 // interface from an alreay precompiled module (`.pcm`).
8 // RUN: %clang_cc1 -std=c++20 -emit-module-interface a.cppm -o a.pcm
9 // RUN: not %clang_cc1 -std=c++20 -emit-module-interface a.pcm
10 // RUN: not %clang_cc1 -std=c++20 -emit-reduced-module-interface a.pcm
11
12 //--- a.cppm
13 export module A;