1 /* Test that (what looks like) comments are not recognized in literals
2 and that quotes within quotes do not confused the preprocessor. */
6 extern void abort (void);
10 const char *str1
= "/*";
11 const char *str2
= "'";
13 if (str1
[0] != '/' || str1
[1] != '*' || str1
[2] != '\0')
16 if (str2
[0] != '\'' || str2
[1] != '\0')
20 # error /* { dg-bogus "error" "double quote in charconst" } */
24 # error quote /* { dg-bogus "quote" "quote in charconst" } */