diff options
Diffstat (limited to 'test/Parser/cxx-try.cpp')
-rw-r--r-- | test/Parser/cxx-try.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Parser/cxx-try.cpp b/test/Parser/cxx-try.cpp index 8deed35559..535f40d780 100644 --- a/test/Parser/cxx-try.cpp +++ b/test/Parser/cxx-try.cpp @@ -30,14 +30,11 @@ void h() try { 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(float) : i(0) try {} // expected-error {{expected '{' or ','}} }; A::A(char) : i(0) try {} // expected-error {{expected '{' or ','}} |