Commit 6be14315 by Zack Weinberg

memcheck: Delete entire directory.


        * gcc.c-torture/execute/memcheck: Delete entire directory.
        (files: blkarg.c blkarg.x driver.c driver.h t1.c t2.c t3.c
        t4.c t5.c t6.c t7.c t8.c t9.c template memcheck.exp)

From-SVN: r47737
parent b4fcd7d2
/* Must define:
int expect_error;
void test ();
void setup (); -- NOCHECK */
#include "driver.h"
int expect_error = 0;
int *ip;
void test ()
{
ip = c_malloc (sizeof (int));
*ip = 42;
t2 ();
}
int t2 ()
{
return *ip;
}
void setup () /* NOCHECK */
{
mark_region (&ip, sizeof (ip), ACCESS_RW);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment