clang/test/Modules/pr107673.cppm
raw| 1 | // RUN: %clang_cc1 -std=c++20 %s -ast-dump | FileCheck %s |
| 2 | export module a; |
| 3 | export class f { |
| 4 | public: |
| 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 |