* g++.dg/opt/temp1.C (memcpy): Return a value.

From-SVN: r92646
This commit is contained in:
Mark Mitchell 2004-12-27 18:01:58 +00:00 committed by Mark Mitchell
parent e98a8b5b62
commit 8f8883b140
2 changed files with 3 additions and 0 deletions

View file

@ -9,6 +9,8 @@
2004-12-27 Mark Mitchell <mark@codesourcery.com>
* g++.dg/opt/temp1.C (memcpy): Return a value.
PR c++/19148
* g++.dg/expr/cond7.C: New test.

View file

@ -20,6 +20,7 @@ void *memcpy (void *dest, const void *src, __SIZE_TYPE__ n)
while (n--)
d[n] = s[n];
++i;
return dest;
}
struct T {