aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaTemplate/gh57943.cpp
blob: 5a9f6f4d09f8a71224464d0fcdf4d9d9199a3f45 (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -std=c++20 -verify %s
// expected-no-diagnostics
struct s {
    template<typename T>
          requires requires(T x) { x.g(); }
      friend void f(T);
};