1// PR c++/20679
2
3template <class T>
4struct foo
5{
6  struct bar
7  {
8    int m;
9  };
10
11  void m() const {}
12  void m() {}
13
14  bool n() const { return b->m < 42; }
15
16  bar *b;
17};
18
19
20
21