1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/C++Frontend/2003-08-28-SaveExprBug.cpp
2007-01-17 07:59:14 +00:00

25 lines
341 B
C++

// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
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>;