aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend/2003-08-28-SaveExprBug.cpp
blob: a94ff03c682193c2ae23f2031c29b4f096b4a2c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

char* eback();

template<typename foo>
struct basic_filebuf {
  char *instancevar;
 
  void callee() {
    instancevar += eback() != eback();
  }

  void caller();
};


template<typename _CharT>
void basic_filebuf<_CharT>::caller() {
  callee();
}


template class basic_filebuf<char>;