3 // RUN: split-file %s %t
5 // RUN: %clang -std=c++20 %t/a.cppm --precompile -o %t/a.pcm
6 // RUN: %clang -std=c++20 %t/test.cc -fprebuilt-module-path=%t -fsyntax-only -Xclang -verify
9 template <typename G> static inline void func() {}
10 template <typename T = long> void a() { func<T>(); }
22 // expected-no-diagnostics