diff options
author | Christopher Ferris <cferris@google.com> | 2016-02-12 17:24:27 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2016-02-12 18:09:55 -0800 |
commit | 71766c25778fe13717259cdccb62463684794408 (patch) | |
tree | 54c6c66a596ac1f86a79568cc6c70ab7d2fc06a3 /libc/malloc_debug/malloc_debug.cpp | |
parent | 9750a77b31f2fc6d548a02b3a9750c2794648fea (diff) |
Add a memcpy(a, a, n) test.
clang depends on memcpy where src and dst are the same to actually
work. Even though this is, technically, undefined behavior,
clang is not going to change. Add a test to verify this assumption
holds true for android devices.
Change-Id: Ib575af3c14e705bb62c18fad7d57e1cc0d242899
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions