brintos

brintos / llvm-project-archived public Read only

0
0
Text · 453 B · d7dc896 Raw
16 lines · plain
1// From https://github.com/llvm/llvm-project/issues/572932// RUN: rm -rf %t3// RUN: mkdir -p %t4// RUN: split-file %s %t5//6// RUN: %clang_cc1 -std=c++20 %t/m.cppm -emit-module-interface -o %t/m.pcm7// RUN: %clang_cc1 -std=c++20 %t/m.cpp -fmodule-file=m=%t/m.pcm -verify -fsyntax-only8// RUN: %clang_cc1 -std=c++20 %t/m.cpp -fprebuilt-module-path=%t -verify -fsyntax-only9 10//--- m.cppm11export module m;12 13//--- m.cpp14// expected-no-diagnostics15module m;16