summaryrefslogtreecommitdiffstats
path: root/test/Analysis/exercise-ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/exercise-ps.c')
-rw-r--r--test/Analysis/exercise-ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/exercise-ps.c b/test/Analysis/exercise-ps.c
index 0a95b70..196b679 100644
--- a/test/Analysis/exercise-ps.c
+++ b/test/Analysis/exercise-ps.c
@@ -19,6 +19,6 @@ void_typedef f2_helper();
static void f2(void *buf) {
F12_typedef* x;
x = f2_helper();
- memcpy((&x[1]), (buf), 1); // expected-warning{{implicitly declaring C library function 'memcpy' with type 'void *(void *, void const *}} \
+ memcpy((&x[1]), (buf), 1); // expected-warning{{implicitly declaring C library function 'memcpy' with type 'void *(void *, const void *}} \
// expected-note{{please include the header <string.h> or explicitly provide a declaration for 'memcpy'}}
}
OpenPOWER on IntegriCloud