Sign in
llvm
/
llvm-archive
/
7d3ebf3eceb2e527e4135de9fbfc712843f3003a
/
.
/
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
;
}