]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/cpp/escape-2.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / cpp / escape-2.c
diff --git a/gcc/testsuite/gcc.dg/cpp/escape-2.c b/gcc/testsuite/gcc.dg/cpp/escape-2.c
deleted file mode 100644 (file)
index 31bf882..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.  */
-
-/* { dg-do compile } */
-/* { dg-options "-pedantic -std=c99 -fno-show-column" } */
-
-/* This tests various diagnostics with -pedantic about escape
-   sequences, for both the preprocessor and the compiler.
-
-   Neil Booth, 22 May 2001.  */
-
-#if '\e'               /* { dg-warning "non-ISO" "non-ISO \\e" } */
-#endif
-#if '\u00a0'           /* { dg-bogus "unknown" "\\u is known in C99" } */
-#endif
-
-void foo ()
-{
-  int c = '\E';                /* { dg-warning "non-ISO" "non-ISO \\E" } */
-  c = '\u00a0';                /* { dg-bogus "unknown" "\\u is known in C99" } */
-}