summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/PR24954/B.h
blob: a8ddc718927098702e0ebdbd5924e9ce9751a3a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
namespace B {

  template <class _CharT>
  struct basic_ostream {
    basic_ostream& operator<<(basic_ostream& (*__pf)());
  };


  template <class _CharT> basic_ostream<_CharT>&
  endl();

  struct S1 {
    template <class _CharT> friend void
    operator<<(basic_ostream<_CharT>& __os, const S1& __x);
  };

  S1 setw(int __n);

  template <class _CharT> class S2;

  template <class _CharT> void
  operator<<(basic_ostream<_CharT>& __os, const S2<_CharT>& __x);

  template <class _CharT>
  struct S2 {
    template <class _Cp> friend void
    operator<<(basic_ostream<_Cp>& __os, const S2<_Cp>& __x);
  };

}
OpenPOWER on IntegriCloud