repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC++
/
2003-08-28-SaveExprBug.cpp
blob
98c5f5d8d659389957f9c86a8727ff00a9f02d47
1
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3
4
char
*
eback
();
5
6
template
<
typename foo
>
7
struct
basic_filebuf
{
8
char
*
instancevar
;
9
10
void
callee
() {
11
instancevar
+=
eback
() !=
eback
();
12
}
13
14
void
caller
();
15
};
16
17
18
template
<
typename _CharT
>
19
void
basic_filebuf
<
_CharT
>::
caller
() {
20
callee
();
21
}
22
23
24
template class
basic_filebuf
<
char
>;