projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change this regression so andi is not a valid codegen of it
[oota-llvm.git]
/
test
/
C++Frontend
/
2003-09-22-CompositeExprValue.cpp
diff --git
a/test/C++Frontend/2003-09-22-CompositeExprValue.cpp
b/test/C++Frontend/2003-09-22-CompositeExprValue.cpp
index 9ee0289658ff8a912eed661def6e524a80c1736c..a8208adc5127cef9e28a19b7fb0c44af4329df29 100644
(file)
--- a/
test/C++Frontend/2003-09-22-CompositeExprValue.cpp
+++ b/
test/C++Frontend/2003-09-22-CompositeExprValue.cpp
@@
-1,9
+1,11
@@
+// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
+
struct duration {
duration operator/=(int c) {
-
return *this;
+ return *this;
}
};
void a000090() {
-
duration() /= 1;
+ duration() /= 1;
}