3 // RUN: split-file %s %t
5 // RUN: %clang_cc1 -std=c++20 %t/foo.cppm -emit-module-interface -o %t/foo.pcm
6 // RUN: %clang_cc1 -std=c++20 -fprebuilt-module-path=%t %t/Use.cpp -fsyntax-only -verify
8 // RUN: %clang_cc1 -std=c++20 %t/foo.cppm -emit-reduced-module-interface -o %t/foo.pcm
9 // RUN: %clang_cc1 -std=c++20 -fprebuilt-module-path=%t %t/Use.cpp -fsyntax-only -verify
19 constexpr static bool value
= false;
20 static bool get() { return false; }
21 bool member_value
= false;
22 bool get_func() { return false; }
26 struct bar
: public bar_base
{
33 export
template <typename T
>
35 bool a
= bar
<T
>::value
;
39 bool c
= b
.get_func();
44 // expected-no-diagnostics