projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test that a call to a trampoline is turned into a call to
[oota-llvm.git]
/
test
/
C++Frontend
/
2003-08-28-SaveExprBug.cpp
diff --git
a/test/C++Frontend/2003-08-28-SaveExprBug.cpp
b/test/C++Frontend/2003-08-28-SaveExprBug.cpp
index a94ff03c682193c2ae23f2031c29b4f096b4a2c5..2be35d8d522d362df64d1c1d565dd64a70174525 100644
(file)
--- a/
test/C++Frontend/2003-08-28-SaveExprBug.cpp
+++ b/
test/C++Frontend/2003-08-28-SaveExprBug.cpp
@@
-1,10
+1,12
@@
+// 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();
}