diff options
Diffstat (limited to 'gcc/testsuite/objc/execute/paste.m')
-rw-r--r-- | gcc/testsuite/objc/execute/paste.m | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/testsuite/objc/execute/paste.m b/gcc/testsuite/objc/execute/paste.m deleted file mode 100644 index ad69f38..0000000 --- a/gcc/testsuite/objc/execute/paste.m +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. */ - -/* { dg-do run } */ -/* { dg-options "" } */ - -#define str(x) #x -#define xstr(x) str(x) -#define glue(x, y) x ## y -extern int strcmp (const char *, const char *); -extern int puts (const char *); -extern void abort (void); -#define err(str) do { puts(str); abort(); } while (0) - -int -main () -{ - /* Test Objective C names. */ - if (strcmp (xstr (glue (@, ident)), "@ident")) - err ("Objective C names"); - return 0; -} |