diff options
author | ed <ed@FreeBSD.org> | 2009-06-03 13:29:08 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-06-03 13:29:08 +0000 |
commit | 48ecc7affef226b2bac1e08bdfdc059306a1734c (patch) | |
tree | 4075b1f9165f6c8d2b9a7e98b89a1348669f78fe /test/Parser/cxx-ambig-paren-expr.cpp | |
parent | f27e5a09a0d815b8a4814152954ff87dadfdefc0 (diff) | |
download | FreeBSD-src-48ecc7affef226b2bac1e08bdfdc059306a1734c.zip FreeBSD-src-48ecc7affef226b2bac1e08bdfdc059306a1734c.tar.gz |
Import Clang, at r72770.
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 6f23b35..1712d84 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 (void)'}} - (T())+x; // expected-error {{used type 'T (void)'}} - (T())*px; // expected-error {{used type 'T (void)'}} + (T())x; // expected-error {{used type 'T ()'}} + (T())+x; // expected-error {{used type 'T ()'}} + (T())*px; // expected-error {{used type 'T ()'}} // Expression. x = (T()); |