X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fformat%2Fva-1.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fformat%2Fva-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=5f5eeab4e84736ba4062c33ea83851c005033217;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/format/va-1.c b/gcc/testsuite/gcc.dg/format/va-1.c deleted file mode 100644 index 5f5eeab4..00000000 --- a/gcc/testsuite/gcc.dg/format/va-1.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Test for strange warning in format checking. */ -/* Origin: Joseph Myers */ -/* { dg-do compile } */ -/* { dg-options "-Wformat" } */ - -#include "format.h" - -void -foo (void *p) -{ - printf ("%d", p); /* { dg-bogus "va_list" "wrong type in format warning" } */ - /* { dg-warning "format" "format error" { target *-*-* } 11 } */ -}