* gcc.target/i386/mpx/memcpy-1.c: Include mpx-check.h.
(main): Renamed to ...
(mpx_test): ... this. Add argc and argv arguments.
From-SVN: r243965
+2016-12-29 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.target/i386/mpx/memcpy-1.c: Include mpx-check.h.
+ (main): Renamed to ...
+ (mpx_test): ... this. Add argc and argv arguments.
+
2016-12-29 Martin Liska <mliska@suse.cz>
PR c/78933
#include <stdio.h>
#include <string.h>
+#include "mpx-check.h"
char s[10];
char d[10];
char* foo(char* dst, char* src, size_t size) {
return memcpy(dst, src, size);
}
-int main() {
+int mpx_test(int argc, const char **argv) {
char* r = foo(d, s, 11);
printf("r = %p\n", r);
return 0;