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
16 constexpr static bool value
= false;
17 static bool get() { return false; }
18 bool member_value
= false;
19 bool get_func() { return false; }
23 struct bar
: public bar_base
{
30 export
template <typename T
>
32 bool a
= bar
<T
>::value
;
36 bool c
= b
.get_func();
41 // expected-no-diagnostics