1 // From https://github.com/llvm/llvm-project/issues/77953
4 // RUN: split-file %s %t
6 // RUN: %clang_cc1 -std=c++20 -emit-module-interface %t/a.cppm -o %t/a.pcm
7 // RUN: %clang_cc1 -std=c++20 -fmodule-file=a=%t/a.pcm %t/b.cpp -fsyntax-only -verify
12 template<typename
, typename
>
15 export
template<typename
... Ts
>
17 template<typename
... Us
> requires(... and c
<Ts
, Us
>)
18 friend bool operator==(a
, a
<Us
...>) {
26 // expected-no-diagnostics
28 template struct a
<int>;