Implement function-try-blocks. However, there's a very subtle bug that I can't track down.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70155 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/cxx-try.cpp b/test/Parser/cxx-try.cpp
index 76b85e8..8deed35 100644
--- a/test/Parser/cxx-try.cpp
+++ b/test/Parser/cxx-try.cpp
@@ -23,3 +23,22 @@
   try {}
   catch {} // expected-error {{expected '('}}
 }
+
+void h() try {
+} catch(...) {
+}
+
+struct A {
+  int i;
+  A(float) : i(0) try {} // expected-error {{expected '{' or ','}}
+  A(int);
+  A(char);
+  // FIXME: There's something very strange going on here. After the first
+  // inline function-try-block, subsequent inline bodies aren't parsed anymore.
+  // Valgrind is silent, though, and I can't even debug this properly.
+  A() try : i(0) {} catch(...) {}
+  void f() try {} catch(...) {}
+};
+
+A::A(char) : i(0) try {} // expected-error {{expected '{' or ','}}
+A::A(int j) try : i(j) {} catch(...) {}