brintos

brintos / llvm-project-archived public Read only

0
0
Text · 459 B · b44f0bb Raw
12 lines · cpp
1// RUN: rm -rf %t2// RUN: mkdir -p %t3// RUN: %clang_cc1 -std=c++20 %S/Inputs/module-transtive-instantiation/Templ.cppm -emit-module-interface -o %t/Templ.pcm4// RUN: %clang_cc1 -std=c++20 %S/Inputs/module-transtive-instantiation/bar.cppm  -emit-module-interface -fprebuilt-module-path=%t -o %t/bar.pcm5// RUN: %clang_cc1 -std=c++20 -fprebuilt-module-path=%t %s -fsyntax-only -verify6// expected-no-diagnostics7 8import bar;9int foo() {10  return bar<int>();11}12