3 // RUN: split-file %s %t
5 // RUN: %clang_cc1 -std=c++23 %t/a.cppm -emit-module-interface -o %t/a.pcm
6 // RUN: %clang_cc1 -std=c++23 %t/b.cppm -emit-module-interface -o %t/b.pcm \
7 // RUN: -fprebuilt-module-path=%t
8 // RUN: %clang_cc1 -std=c++23 -fprebuilt-module-path=%t %t/b.pcm -emit-llvm \
9 // RUN: -disable-llvm-passes -o - | FileCheck %t/b.cppm
15 virtual void f() const;
18 inline void base::f() const {
28 virtual void f() const;
31 inline void base::f() const {
38 export extern "C" void func() {}
40 // We only need to check that the IR are successfully emitted instead of crash.