llvm/clang/test/CodeGenCXX/cxx20-module-sub-1a.cppm

// RUN: %clang_cc1 -std=c++20 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s

export module FOO.BAR;
export class A;
namespace Bob {
export class B;

// CHECK-DAG: void @_ZN3BobW3FOOW3BAR3BarEPS1_1APNS_S1_1BE(
export void Bar (A *, B*) {
}
}

// CHECK-DAG: void @_ZW3FOOW3BAR3FooPS0_1APN3BobS0_1BE(
export void Foo (A *, Bob::B*) {
}