summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/warn-comments.c
blob: 1cdf75cf273957896f43cb76c65241b296da28c0 (plain)
1
2
3
4
5
6
7
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Wcomments" }

/* /* */  // { dg-warning "\"\.\*\" within comment .-Wcomment." }

// \
          // { dg-warning "multi-line comment .-Wcomment." "multi-line" { target *-*-* } 6 }