brintos

brintos / llvm-project-archived public Read only

0
0
Text · 726 B · 37508a6 Raw
23 lines · cpp
1// RUN: rm -rf %t2//3// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -fmodules-cache-path=%t \4// RUN:   -emit-module -fmodule-name=a -o %t/a.pcm \5// RUN:   %S/Inputs/merge-template-friend/module.modulemap6//7// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -fmodules-cache-path=%t \8// RUN:   -emit-module -fmodule-name=b -o %t/b.pcm \9// RUN:   %S/Inputs/merge-template-friend/module.modulemap10//11// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -fmodules-cache-path=%t \12// RUN:   -I%S/Inputs/merge-template-friend \13// RUN:   -fmodule-file=%t/a.pcm \14// RUN:   -fmodule-file=%t/b.pcm \15// RUN:   -verify %s16 17#include "friend.h"18#include "def.h"19 20::ns::C<int> c;21 22// expected-no-diagnostics23