Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / memset_chk.c
blobb347dd0b7e790ff60299edd84161413a37319ce0
1 // RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep call | not grep memset_chk
2 // rdar://6728562
4 void t(void *ptr) {
5 __builtin___memset_chk(ptr, 0, 32, __builtin_object_size (ptr, 0));