diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2010-07-15 17:07:12 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2010-07-15 17:07:12 +0000 |
commit | f1752835b9d5f0da31f34b18c9f1eb8dcb799ba8 (patch) | |
tree | 5e946d69177464379cb1a38ac18206180d763639 /test/Sema/block-call.c | |
parent | 1928da94b55683957759d5c5ff4593a118773394 (diff) | |
download | FreeBSD-src-f1752835b9d5f0da31f34b18c9f1eb8dcb799ba8.zip FreeBSD-src-f1752835b9d5f0da31f34b18c9f1eb8dcb799ba8.tar.gz |
Update clang to r108428.
Diffstat (limited to 'test/Sema/block-call.c')
-rw-r--r-- | test/Sema/block-call.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Sema/block-call.c b/test/Sema/block-call.c index 28e6c68..27e4cfc 100644 --- a/test/Sema/block-call.c +++ b/test/Sema/block-call.c @@ -13,10 +13,9 @@ int main() { int (^IFP) () = PFR; // OK - const int (^CIC) () = IFP; // expected-error {{incompatible block pointer types initializing 'int const (^)()' with an expression of type 'int (^)()'}} \ - // expected-warning{{type qualifier on return type has no effect}} + const int (^CIC) () = IFP; // expected-error {{incompatible block pointer types initializing 'int const (^)()' with an expression of type 'int (^)()'}} - const int (^CICC) () = CIC; // expected-warning{{type qualifier on return type has no effect}} + const int (^CICC) () = CIC; int * const (^IPCC) () = 0; |