brintos

brintos / llvm-project-archived public Read only

0
0
Text · 449 B · a16f65d Raw
26 lines · plain
1// RUN: rm -rf %t2// RUN: mkdir -p %t3// RUN: split-file %s %t4//5// RUN: %clang_cc1 -std=c++20 %t/A.cppm -emit-module-interface -o %t/A.pcm6// RUN: %clang_cc1 -std=c++20 %t/B.cppm -fprebuilt-module-path=%t -emit-llvm -o %t/B.ll7 8//--- A.cppm9export module A;10export template<typename>11struct holder {12};13 14struct a {15	holder<struct foo> m;16};17 18//--- B.cppm19// expected-no-diagnostics20export module B;21import A;22 23struct b {24	holder<struct foo> m;25};26