aboutsummaryrefslogtreecommitdiff
path: root/test/Rewriter/finally.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Rewriter/finally.m')
-rw-r--r--test/Rewriter/finally.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Rewriter/finally.m b/test/Rewriter/finally.m
index 67774b5d9cda..7d160cfbdd2b 100644
--- a/test/Rewriter/finally.m
+++ b/test/Rewriter/finally.m
@@ -2,7 +2,7 @@
int main() {
@try {
- printf("executing try"); // expected-warning{{implicitly declaring C library function 'printf' with type 'int (char const *, ...)'}} \
+ printf("executing try"); // expected-warning{{implicitly declaring C library function 'printf' with type 'int (const char *, ...)'}} \
// expected-note{{please include the header <stdio.h> or explicitly provide a declaration for 'printf'}}
return(0); // expected-warning{{rewriter doesn't support user-specified control flow semantics for @try/@finally (code may not execute properly)}}
} @finally {