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