1 // Check that the compiler wouldn't crash due to inconsistent namesapce linkage
4 // RUN: %clang_cc1 -x c++ -std=c++20 %S/Inputs/p2.cppm -emit-module-interface -o %t/Y.pcm
5 // RUN: %clang_cc1 -x c++ -std=c++20 -fprebuilt-module-path=%t -I%S/Inputs %s -fsyntax-only -verify
6 // expected-no-diagnostics
10 export namespace foo {