xref: /llvm-project/clang/test/Modules/pr107673.cppm (revision 74ac96ae1a81c7ecc0e27ff6f45309cff1f2df97)
1// RUN: %clang_cc1 -std=c++20 %s -ast-dump | FileCheck %s
2export module a;
3export class f {
4public:
5    void non_inline_func() {}
6    constexpr void constexpr_func() {}
7    consteval void consteval_func() {}
8};
9
10// CHECK-NOT: non_inline_func {{.*}}implicit-inline
11// CHECK: constexpr_func {{.*}}implicit-inline
12// CHECK: consteval_func {{.*}}implicit-inline
13