]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c-torture/compile/20001024-1.c: New test.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Oct 2000 09:52:24 +0000 (09:52 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Oct 2000 09:52:24 +0000 (09:52 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37072 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20001024-1.c [new file with mode: 0644]

index 0790ff28a2c013de35ca04b63175ed6a27dc7bf6..c714459be73027fa73b615831dd0d9b42a4a75a1 100644 (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
diff --git a/gcc/testsuite/gcc.c-torture/compile/20001024-1.c b/gcc/testsuite/gcc.c-torture/compile/20001024-1.c
new file mode 100644 (file)
index 0000000..59208cd
--- /dev/null
@@ -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);
+}