diff options
Diffstat (limited to 'clang/test/Sema/block-call.c')
-rw-r--r-- | clang/test/Sema/block-call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/block-call.c b/clang/test/Sema/block-call.c index 3326131816e..34de8b611d8 100644 --- a/clang/test/Sema/block-call.c +++ b/clang/test/Sema/block-call.c @@ -10,7 +10,7 @@ int main() { int (^PFR) (int) = IFP; // expected-warning {{incompatible block pointer types initializing 'int (^)()', expected 'int (^)(int)'}} PFR = II; // OK - int (^IFP) () = PFR; // expected-warning {{incompatible block pointer types initializing 'int (^)(int)', expected 'int (^)()'}} + int (^IFP) () = PFR; const int (^CIC) () = IFP; // expected-warning {{incompatible block pointer types initializing 'int (^)()', expected 'int const (^)()'}} |