aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr61854-8.c
blob: 307513caf4a2cd9952e92557655458f84d4c6b5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR c/61854 */
/* { dg-do compile } */
/* { dg-options "-std=gnu89 -pedantic -w" } */

int
main (void)
{
  // Comment.
  /* { dg-bogus "C\\+\\+ style comments are not allowed in ISO C90" "comments"  { target *-*-*} .-1 } */
  /* { dg-bogus "note: \[^\n\r]*reported only once" ""  { target *-*-*} .-2 } */
  return 0;
}