summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/friend-template.cpp
blob: 6268cd89073d3e3a03b25ef9f1a8c74e49b203b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: clang-cc -fsyntax-only %s

// PR5057
namespace std {
  class X {
  public:
    template<typename T>
    friend struct Y;
  };
}

namespace std {
  template<typename T>
  struct Y
  {
  };
}
OpenPOWER on IntegriCloud