brintos

brintos / llvm-project-archived public Read only

0
0
Text · 524 B · 36e2e67 Raw
16 lines · cpp
1// RUN: %clang_cc1 -std=c++20 %S/Inputs/cxx20-module-std-subst-2a.cpp -triple %itanium_abi_triple -emit-module-interface -o %t2// RUN: %clang_cc1 -std=c++20 %s -triple %itanium_abi_triple -fmodule-file=%t -emit-llvm -o - | FileCheck %s3module;4# 5 __FILE__ 15namespace std {6template <typename A> struct char_traits {};7} // namespace std8# 9 "" 29export module Bar;10import RenameString;11 12// Use Ss as this is global-module std::char_traits13// CHECK-DAG: void @_ZW3Bar1gRSs(14void g(str<char, std::char_traits<char>> &s) {15}16