1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

New testcase, not only possible of causing compilation failures, but could

also cause miscompilations!

llvm-svn: 8198
This commit is contained in:
Chris Lattner 2003-08-29 00:03:45 +00:00
parent 7fbf15848b
commit 03e444c960

View File

@ -0,0 +1,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>;