diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-10-05 14:27:18 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-10-05 14:27:18 +0000 |
commit | 7b87f2743880efa3ab5887f403b3f391140841a6 (patch) | |
tree | 101c15ce790cb0f995b3505864f7dc6465365499 /clang/test/SemaCXX/decl-expr-ambiguity.cpp | |
parent | 8c9771bdf0d8c37483150718817618aea9db8e3d (diff) | |
download | bcm5719-llvm-7b87f2743880efa3ab5887f403b3f391140841a6.tar.gz bcm5719-llvm-7b87f2743880efa3ab5887f403b3f391140841a6.zip |
Consider GNU attributes when doing ambiguity resolution.
llvm-svn: 57108
Diffstat (limited to 'clang/test/SemaCXX/decl-expr-ambiguity.cpp')
-rw-r--r-- | clang/test/SemaCXX/decl-expr-ambiguity.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/decl-expr-ambiguity.cpp b/clang/test/SemaCXX/decl-expr-ambiguity.cpp index b9e824dff04..48e132097e4 100644 --- a/clang/test/SemaCXX/decl-expr-ambiguity.cpp +++ b/clang/test/SemaCXX/decl-expr-ambiguity.cpp @@ -17,4 +17,5 @@ void f() { T(d)[5]; // expected-warning {{statement was disambiguated as declaration}} expected-error {{redefinition of 'd'}} typeof(int[])(f) = { 1, 2 }; // expected-warning {{statement was disambiguated as declaration}} void(b)(int); + int(d2) __attribute__(()); // expected-warning {{statement was disambiguated as declaration}} } |