summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-12-10 17:49:55 +0000
committerSteve Naroff <snaroff@apple.com>2008-12-10 17:49:55 +0000
commit68e167df8e7ace73965fe501605a0d5196b51ce0 (patch)
tree59ed45f8e9454639e82ba3ff2c855b055bae972c /clang/test/Sema
parent9499385621196a20a22d9be1b3fb2343a42f25cd (diff)
downloadbcm5719-llvm-68e167df8e7ace73965fe501605a0d5196b51ce0.tar.gz
bcm5719-llvm-68e167df8e7ace73965fe501605a0d5196b51ce0.zip
Fix <rdar://problem/6418623> Bogus block type compatibility warning.
llvm-svn: 60842
Diffstat (limited to 'clang/test/Sema')
-rw-r--r--clang/test/Sema/block-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/block-call.c b/clang/test/Sema/block-call.c
index 66bf725922a..c52f0ed96bf 100644
--- a/clang/test/Sema/block-call.c
+++ b/clang/test/Sema/block-call.c
@@ -24,7 +24,7 @@ int main() {
int * (^IPCC2) () = IPCC; // expected-warning {{incompatible block pointer types initializing 'int *const (^)()', expected 'int *(^)()'}}
- int (^IPCC3) (const int) = PFR; // expected-warning {{incompatible block pointer types initializing 'int (^)(int)', expected 'int (^)(int const)'}}
+ int (^IPCC3) (const int) = PFR;
int (^IPCC4) (int, char (^CArg) (double));
OpenPOWER on IntegriCloud