aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2000-10-26 09:52:24 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2000-10-26 09:52:24 +0000
commitcdb09fce3f32d0a844eae69b23fa26acd284c205 (patch)
treec887b2a804a31f27b7cf1ef1155897adf55ec1e3 /gcc/testsuite
parent13c6f0d5b3a61f3ec7dfb0a38fbe02f0cf24f75b (diff)
downloadgcc-cdb09fce3f32d0a844eae69b23fa26acd284c205.zip
gcc-cdb09fce3f32d0a844eae69b23fa26acd284c205.tar.gz
gcc-cdb09fce3f32d0a844eae69b23fa26acd284c205.tar.bz2
* gcc.c-torture/compile/20001024-1.c: New test.
From-SVN: r37072
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20001024-1.c13
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0790ff2..c714459 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
index 0000000..59208cd
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/20001024-1.c
@@ -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);
+}