Fixed some bugs.
[llvm/zpu.git] / test / FrontendC++ / 2003-08-28-SaveExprBug.cpp
blob98c5f5d8d659389957f9c86a8727ff00a9f02d47
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
4 char* eback();
6 template<typename foo>
7 struct basic_filebuf {
8 char *instancevar;
10 void callee() {
11 instancevar += eback() != eback();
14 void caller();
18 template<typename _CharT>
19 void basic_filebuf<_CharT>::caller() {
20 callee();
24 template class basic_filebuf<char>;