]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/format/no-exargs-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / format / no-exargs-1.c
diff --git a/gcc/testsuite/gcc.dg/format/no-exargs-1.c b/gcc/testsuite/gcc.dg/format/no-exargs-1.c
deleted file mode 100644 (file)
index 7524708..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/* Test for warnings for extra format arguments being disabled by
-   -Wno-format-extra-args.  */
-/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
-/* { dg-do compile } */
-/* { dg-options "-std=gnu99 -Wformat -Wno-format-extra-args" } */
-
-#include "format.h"
-
-void
-foo (int i)
-{
-  printf ("foo", i);
-  printf ("%1$d", i, i);
-}