blob: a94ff03c682193c2ae23f2031c29b4f096b4a2c5 [file] [log] [blame]
Chris Lattner77e94d62003-08-29 00:03:45 +00001
2char* eback();
3
4template<typename foo>
5struct basic_filebuf {
6 char *instancevar;
7
8 void callee() {
9 instancevar += eback() != eback();
10 }
11
12 void caller();
13};
14
15
16template<typename _CharT>
17void basic_filebuf<_CharT>::caller() {
18 callee();
19}
20
21
22template class basic_filebuf<char>;