3 // RUN: split-file %s %t
5 // RUN: %clang_cc1 -std=c++20 %t/mod1.cppm -emit-reduced-module-interface -o %t/mod-mod1.pcm
6 // RUN: %clang_cc1 -std=c++20 %t/mod.cppm -fprebuilt-module-path=%t \
7 // RUN: -emit-reduced-module-interface -o %t/mod.pcm
8 // RUN: %clang_cc1 -std=c++20 %t/use.cpp -fprebuilt-module-path=%t -verify -fsyntax-only
11 export module mod:mod1;
19 return abc + mod::def;
23 // expected-no-diagnostics
32 static double def = 44.0;
35 export double func() {
36 return (double)f() + abc + mod::def;
40 // expected-no-diagnostics