1 // From https://github.com/llvm/llvm-project/issues/61065
4 // RUN: split-file %s %t
6 // RUN: %clang_cc1 -std=c++20 %t/a.cppm -emit-module-interface -o %t/a.pcm
7 // RUN: %clang_cc1 -std=c++20 %t/b.cppm -emit-module-interface -o %t/b.pcm \
8 // RUN: -fprebuilt-module-path=%t
9 // DISABLED: %clang_cc1 -std=c++20 %t/c.cppm -emit-module-interface -o %t/c.pcm \
10 // DISABLED: -fprebuilt-module-path=%t
11 // DISABLED: %clang_cc1 -std=c++20 %t/d.cpp -fsyntax-only -verify -fprebuilt-module-path=%t
13 // Test again with reduced BMI
16 // RUN: split-file %s %t
18 // RUN: %clang_cc1 -std=c++20 %t/a.cppm -emit-reduced-module-interface -o %t/a.pcm
19 // RUN: %clang_cc1 -std=c++20 %t/b.cppm -emit-reduced-module-interface -o %t/b.pcm \
20 // RUN: -fprebuilt-module-path=%t
21 // DISABLED: %clang_cc1 -std=c++20 %t/c.cppm -emit-reduced-module-interface -o %t/c.pcm \
22 // DISABLED: -fprebuilt-module-path=%t
23 // DISABLED: %clang_cc1 -std=c++20 %t/d.cpp -fsyntax-only -verify -fprebuilt-module-path=%t
33 export struct a : base {
53 noncopyable(noncopyable const &) = delete;
54 noncopyable() = default;
64 // expected-no-diagnostics