* gcc.c-torture/compile/20001024-1.c: New test.

From-SVN: r37072
This commit is contained in:
Nathan Sidwell 2000-10-26 09:52:24 +00:00 committed by Nathan Sidwell
parent 13c6f0d5b3
commit cdb09fce3f
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-10-26 Nathan Sidwell <nathan@codesourcery.com>
* gcc.c-torture/compile/20001024-1.c: New test.
2000-10-25 Mark Mitchell <mark@codesourcery.com>
* lib/g++.exp (g++_include_flags): Trust HAVE_LIBSTDCXX_V3

View File

@ -0,0 +1,13 @@
/* Copyright (C) 2000 Free Software Foundation */
/* Contributed by Nathan Sidwell <nathan@codesourcery.com> */
typedef __SIZE_TYPE__ size_t;
extern void *memset(void *, int, size_t);
struct Baz;
void quux(struct Baz *context)
{
memset(context, 0, 4);
}