Sign in
llvm
/
llvm-archive
/
089ca8750d7cd1f1ec96968922bf4bcfe223bb3a
/
.
/
safecode
/
test
/
core
/
free-002.c
blob: ee30ed2d92449cfa39150560d07f53ae801264e1 [
file
] [
log
] [
blame
]
// RUN: test.sh -e -t %t %s
//
// TEST: free-002
//
// Description:
// Test invalid memory deallocations
//
#include
<stdio.h>
#include
<stdlib.h>
int
main
(
int
argc
,
char
**
argv
)
{
volatile
char
array
[
1024
];
free
(
array
);
return
0
;
}