X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fcpp%2Fstrp2.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fcpp%2Fstrp2.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=d1fcd91824dcd49e3427be2f79ab9a161c4de37e;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/cpp/strp2.c b/gcc/testsuite/gcc.dg/cpp/strp2.c deleted file mode 100644 index d1fcd918..00000000 --- a/gcc/testsuite/gcc.dg/cpp/strp2.c +++ /dev/null @@ -1,23 +0,0 @@ -/* { dg-do run } */ - -/* Test for odd corner cases in stringizing/pasting. - Taken more or less verbatim from C99 section 6.10.3.3. */ - -#include -#include - -#define hash_hash # ## # -#define mkstr(a) # a -#define in_between(a) mkstr(a) -#define join(c, d) in_between(c hash_hash d) - -const char p[] = join(x, y); -const char q[] = "x ## y"; - -int -main (void) -{ - if (strcmp (p, q)) - abort (); - return 0; -}