mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 05:55:40 +00:00
bf08e82d8e
llvm-svn: 79992
25 lines
338 B
C++
25 lines
338 B
C++
// RUN: %llvmgxx -S %s -o - | llvm-as -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>;
|