aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr61854-c90.c
blob: 37eecbe23fb6405c967fd5335abf4326b2e4aaac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR c/61854 */
/* { dg-do preprocess } */
/* { dg-options "-std=iso9899:1990" } */

void
foo (void)
{
  // 1st
  /* { dg-error "C\\+\\+ style comments are not allowed in ISO C90" "comments"  { target *-*-*} 8 } */
  /* { dg-error "reported only once" ""  { target *-*-*} 8 } */
  // 2nd
  // 3rd
}