summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/trad/comment-2.c
blob: 8d54e3a0f3220dbfc81f97e7626c6c165c4b3661 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Test for warning of nested comments.  */

/* { dg-do preprocess } */

/* { dg-options "-traditional-cpp -Wcomments" }

/* /* */   /* { dg-warning "within comment" } */

/*

 /* { dg-warning "within comment" } */