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
This commit is contained in:
parent
b4fcd7d228
commit
6be1431593
@ -1,27 +0,0 @@
|
||||
/* 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user