Index: clang/test/Interpreter/namespace-template-disambiguate.cpp =================================================================== --- /dev/null +++ clang/test/Interpreter/namespace-template-disambiguate.cpp @@ -0,0 +1,9 @@ +// UNSUPPORTED: system-aix + +// RUN: cat %s | clang-repl 2>&1 | FileCheck %s + +namespace NS1 { template struct S {}; } +namespace NS2 { struct A { public: using S = int; }; } +namespace NS2 { A::S f(A::S a); } + +// CHECK-NOT: error