mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 17:32:59 +00:00
cb2480d0a8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67815 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
188 B
C
7 lines
188 B
C
// RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep call | not grep memset_chk
|
|
// rdar://6728562
|
|
|
|
void t(void *ptr) {
|
|
__builtin___memset_chk(ptr, 0, 32, __builtin_object_size (ptr, 0));
|
|
}
|