projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for OR/XOR/SUB immediates that are handled with the new immediate
[oota-llvm.git]
/
test
/
C++Frontend
/
2003-08-20-ExceptionFail.cpp
diff --git
a/test/C++Frontend/2003-08-20-ExceptionFail.cpp
b/test/C++Frontend/2003-08-20-ExceptionFail.cpp
index dfad1bff8eb1d6ef1495c797d257188cffc335d3..fd1c6ad4c2a538de2f89dd9effef1660a0c5cbdc 100644
(file)
--- a/
test/C++Frontend/2003-08-20-ExceptionFail.cpp
+++ b/
test/C++Frontend/2003-08-20-ExceptionFail.cpp
@@
-1,3
+1,5
@@
+// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
+
void foo();
void bar() {
@@
-5,9
+7,6
@@
void bar() {
~local() { foo(); }
} local_obj;
- try {
- foo();
- } catch(...) {
- }
+ foo();
}