aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/pr61065-2.cppm
blob: f46a0f73aa203185d4027c37ed4e03f2424f1175 (plain)
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() {}