13 lines
469 B
C
13 lines
469 B
C
|
/* n_dslcom.c: // is a comment of C++ and C99. */
|
||
|
/* a; */
|
||
|
a; // is a comment of C++ and C99
|
||
|
|
||
|
/* { dg-do preprocess }
|
||
|
{ dg-options "-std=c99" }
|
||
|
{ dg-final { if ![file exist n_dslcom.i] { return } } }
|
||
|
{ dg-final { if \{ [grep n_dslcom.i "^\[ \]*a;\[ \]*$"] != "" \} \{ } }
|
||
|
{ dg-final { return \} } }
|
||
|
{ dg-final { fail "n_dslcom.c: double slash comment" } }
|
||
|
*/
|
||
|
|