]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/cpp/strp2.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / cpp / strp2.c
diff --git a/gcc/testsuite/gcc.dg/cpp/strp2.c b/gcc/testsuite/gcc.dg/cpp/strp2.c
deleted file mode 100644 (file)
index d1fcd91..0000000
+++ /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 <stdlib.h>
-#include <string.h>
-
-#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;
-}