brintos

brintos / llvm-project-archived public Read only

0
0
Text · 572 B · f631487 Raw
17 lines · plain
1// RUN: rm -rf %t2// RUN: mkdir -p %t/sys3// RUN: echo '#include <B.h>' > %t/sys/A.h4// RUN: echo '' > %t/sys/B.h5// RUN: echo 'module A { header "A.h" }' > %t/sys/module.modulemap6// RUN: echo 'module B { header "B.h" }' >> %t/sys/module.modulemap7 8// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -fsyntax-only %s \9// RUN:            -isystem %t/sys -Rmodule-build 2>&1 | FileCheck %s10 11@import A;12 13// CHECK: building module 'A' as14// CHECK: building module 'B' as15// CHECK: finished building module 'B'16// CHECK: finished building module 'A'17