summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/noeffect5.C
blob: f0f4e74109af353be8d70f7f3a33414a17ddfaf0 (plain)
1
2
3
4
5
6
7
8
/* PR middle-end/13325 */
/* { dg-do compile } */
/* { dg-options "-Wall" } */

void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n);
void f (void *dest, const void *src) {
    memcpy (dest, src, 0);
}