diff options
Diffstat (limited to 'gcc-4.9/libvtv/testsuite/other-tests/replace-fail.cc')
-rw-r--r-- | gcc-4.9/libvtv/testsuite/other-tests/replace-fail.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc-4.9/libvtv/testsuite/other-tests/replace-fail.cc b/gcc-4.9/libvtv/testsuite/other-tests/replace-fail.cc new file mode 100644 index 000000000..2b4070eec --- /dev/null +++ b/gcc-4.9/libvtv/testsuite/other-tests/replace-fail.cc @@ -0,0 +1,11 @@ +#include <stdlib.h> +#include <stdio.h> + + +void __vtv_verify_fail (void **, void*) __attribute__((visibility ("default"))); + +void +__vtv_verify_fail (void **hash_table, const void *vtbl_ptr) +{ + fprintf (stdout, "Executing alternative failure routine.\n"); +} |