[llvm-commits] CVS: llvm/test/C++Frontend/2007-04-31-TryCatch.cpp
Duncan Sands
baldrick at free.fr
Tue May 1 11:49:49 PDT 2007
Changes in directory llvm/test/C++Frontend:
2007-04-31-TryCatch.cpp added (r1.1)
---
Log message:
Test handling of TRY_CATCH_EXPRs for which the handler is a sequence of
ordinary statements, rather than a list of CATCH_EXPRs or an EH_FILTER_EXPR.
---
Diffs of the changes: (+12 -0)
2007-04-31-TryCatch.cpp | 12 ++++++++++++
1 files changed, 12 insertions(+)
Index: llvm/test/C++Frontend/2007-04-31-TryCatch.cpp
diff -c /dev/null llvm/test/C++Frontend/2007-04-31-TryCatch.cpp:1.1
*** /dev/null Tue May 1 13:49:40 2007
--- llvm/test/C++Frontend/2007-04-31-TryCatch.cpp Tue May 1 13:49:30 2007
***************
*** 0 ****
--- 1,12 ----
+ // RUN: %llvmgxx -S %s -o /dev/null
+
+ #include <locale>
+
+ namespace std
+ {
+ codecvt<char, char, mbstate_t>::
+ codecvt(size_t __refs)
+ : __codecvt_abstract_base<char, char, mbstate_t>(__refs),
+ _M_c_locale_codecvt(_S_get_c_locale())
+ { }
+ }
More information about the llvm-commits
mailing list