brintos

brintos / llvm-project-archived public Read only

0
0
Text · 358 B · dc66c9a Raw
13 lines · plain
1// RUN: %clang_cc1 -std=c++20 %s -ast-dump | FileCheck %s2export 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-inline11// CHECK: constexpr_func {{.*}}implicit-inline12// CHECK: consteval_func {{.*}}implicit-inline13