aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/pr107673.cppm
blob: dc66c9ac2245b3bf378eb80b7a9a60f309515282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -std=c++20 %s -ast-dump | FileCheck %s
export module a;
export class f {
public:
    void non_inline_func() {}
    constexpr void constexpr_func() {}
    consteval void consteval_func() {}
};

// CHECK-NOT: non_inline_func {{.*}}implicit-inline
// CHECK: constexpr_func {{.*}}implicit-inline
// CHECK: consteval_func {{.*}}implicit-inline