njn | 499eaad | 2005-03-11 05:05:50 +0000 | [diff] [blame] | 1 | #include <stdio.h> |
| 2 | #include <stdlib.h> |
njn | c5f20c7 | 2009-02-26 22:38:42 +0000 | [diff] [blame^] | 3 | #include "memcheck/memcheck.h" |
njn | 499eaad | 2005-03-11 05:05:50 +0000 | [diff] [blame] | 4 | |
| 5 | static int a1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789(void) |
| 6 | { |
njn | c5f20c7 | 2009-02-26 22:38:42 +0000 | [diff] [blame^] | 7 | int x; |
| 8 | VALGRIND_MAKE_MEM_NOACCESS(&x, sizeof(x)); |
| 9 | return *(int *)&x; |
njn | 499eaad | 2005-03-11 05:05:50 +0000 | [diff] [blame] | 10 | } |
| 11 | |
| 12 | int main(int argc, char **argv) |
| 13 | { |
| 14 | exit(a1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789()); |
| 15 | } |