OSDN Git Service

PR tree-optimization/52019
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / 19940712-1.c
1 /* { dg-do preprocess } */
2 /* PR 4713 */
3
4 /* dg.exp doesn't read the header files for magic comments. */
5 /* { dg-error "unterminated comment" "" { target *-*-* } 4 } */
6 /* { dg-error "unterminated comment" "header error" { target *-*-* } 8 } */
7
8 #include "19940712-1.h"
9 /* { dg-message "" "In file included from:" { target *-*-* } 0 } */
10 #include "19940712-1a.h"
11 #include "19940712-1b.h"
12
13 /* comment start in comment error
14 /* in a .c file */
15
16 int main ()
17 {
18     return 0;
19 }
20