X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fformat%2Fext-4.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fformat%2Fext-4.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=db8250067b057445ca4550f93c2340769ac91727;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/format/ext-4.c b/gcc/testsuite/gcc.dg/format/ext-4.c deleted file mode 100644 index db825006..00000000 --- a/gcc/testsuite/gcc.dg/format/ext-4.c +++ /dev/null @@ -1,18 +0,0 @@ -/* Test for scanf formats. %a extensions. */ -/* Origin: Joseph Myers */ -/* { dg-do compile } */ -/* { dg-options "-std=gnu89 -Wformat" } */ - -#include "format.h" - -void -foo (char **sp, wchar_t **lsp) -{ - /* %a formats for allocation, only recognised in C90 mode, are a - GNU extension. Followed by other characters, %a is not treated - specially. - */ - scanf ("%as", sp); - scanf ("%aS", lsp); - scanf ("%a[bcd]", sp); -}