alexander-shaposhnikov added a comment.

reduced test case (that is currently blocking this diff) :

  namespace outer::internal {
  
  template <typename>
  concept myconcept = true;
  
  }
  
  namespace outer {
  
  template <internal::myconcept> class Foo;
  
  template <internal::myconcept> struct Bar {
    template <internal::myconcept> friend class Foo;
  };
  
  Bar<void> S;
  
  namespace internal {
  int f(Foo<void>);
  }
  
  template <internal::myconcept> struct Foo {
    friend int internal::f(Foo<void>);
  };
  
  } // namespace outer


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146178/new/

https://reviews.llvm.org/D146178

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to