1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// RUN: rm -rf %t // RUN: mkdir %t // RUN: split-file %s %t // // RUN: %clang_cc1 -fallow-pcm-with-compiler-errors -fmodule-name=c -xc++ -emit-module -fmodules -std=gnu++20 %t/a.cppmap -o %t/c.pcm //--- a.cppmap module "c" { header "a.h" } //--- a.h template <class> class C {}; template <class T> C<T>::operator C() {}