mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 19:33:59 +08:00
* gcc.c-torture/compile/20001024-1.c: New test.
From-SVN: r37072
This commit is contained in:
parent
13c6f0d5b3
commit
cdb09fce3f
@ -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
|
||||
|
13
gcc/testsuite/gcc.c-torture/compile/20001024-1.c
Normal file
13
gcc/testsuite/gcc.c-torture/compile/20001024-1.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user