Sign in
llvm
/
llvm-archive
/
a95f55d472d28a35cc4af5df7749473ca38ee187
/
.
/
safecode
/
test
/
cstdlib
/
strpbrk-001.c
blob: c3eefe791dadd155e4c326899a9a27fd626b6f55 [
file
] [
log
] [
blame
]
// RUN: test.sh -e -t %t %s
// strpbrk() searching on an unterminated string.
#include
<string.h>
int
main
()
{
char
a
[
100
];
memset
(
a
,
'a'
,
100
);
strpbrk
(
a
,
"nb"
);
return
0
;
}