repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
FrontendC
/
memset_chk.c
blob
b347dd0b7e790ff60299edd84161413a37319ce0
1
// RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep call | not grep memset_chk
2
// rdar://6728562
3
4
void
t
(
void
*
ptr
) {
5
__builtin___memset_chk
(
ptr
,
0
,
32
,
__builtin_object_size
(
ptr
,
0
));
6
}