diff options
Diffstat (limited to 'test/Parser/cxx-ambig-paren-expr.cpp')
-rw-r--r-- | test/Parser/cxx-ambig-paren-expr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Parser/cxx-ambig-paren-expr.cpp b/test/Parser/cxx-ambig-paren-expr.cpp index 1712d849d516..324f6b5f9f88 100644 --- a/test/Parser/cxx-ambig-paren-expr.cpp +++ b/test/Parser/cxx-ambig-paren-expr.cpp @@ -5,9 +5,9 @@ void f() { int x, *px; // Type id. - (T())x; // expected-error {{used type 'T ()'}} - (T())+x; // expected-error {{used type 'T ()'}} - (T())*px; // expected-error {{used type 'T ()'}} + (T())x; // expected-error {{cast from 'int' to 'T ()'}} + (T())+x; // expected-error {{cast from 'int' to 'T ()'}} + (T())*px; // expected-error {{cast from 'int' to 'T ()'}} // Expression. x = (T()); |