+2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * gcc.dg/format-errmk-1.c: New test.
+
2000-09-17 Greg McGary <greg@mcgary.org>
* gcc.c-torture/execute/20000917-1.x: Remove.
--- /dev/null
+/* Test for format checking not giving tree checking errors. */
+/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
+/* { dg-do compile } */
+/* { dg-options "-Wformat" } */
+
+extern int printf (const char *, ...);
+
+void
+foo (int t)
+{
+ printf ("%*d", u, t); /* { dg-error "undeclared|function" "u undeclared error" } */
+}