3 // RUN: split-file %s %t
5 // RUN: %clang_cc1 -std=c++20 %t/foo.cppm -I%t -emit-module-interface -o %t/foo.pcm
6 // RUN: %clang_cc1 -fprebuilt-module-path=%t -std=c++20 %t/use.cpp -I%t -fsyntax-only -verify
8 // RUN: %clang_cc1 -std=c++20 %t/foo.cppm -I%t -emit-reduced-module-interface -o %t/foo.pcm
9 // RUN: %clang_cc1 -fprebuilt-module-path=%t -std=c++20 %t/use.cpp -I%t -fsyntax-only -verify
15 template <typename T
= int>
24 template <template <typename
> typename C
= my_array
>
27 template <typename T
, int *i
= nullptr>
30 template <typename T
, T
*i
= nullptr>
34 template <typename T
, int *i
= &a
>
38 template <typename T
, T
*i
= &b
>
41 template <int T
= (3 > 2)>
44 consteval
int getInt() {
47 template <int T
= getInt()>
57 // expected-no-diagnostics