Blame cpp-test/test-t/n_dslcom_cplus.C

Packit b40e2e
/* n_dslcom_cplus.C:    // is a comment of C++ and C99. */
Packit b40e2e
/*  a;  */ 
Packit b40e2e
    a;  // is a comment of C++ and C99
Packit b40e2e
Packit b40e2e
/* { dg-do preprocess }
Packit b40e2e
   { dg-options "-std=c++98" }
Packit b40e2e
   { dg-final { if ![file exist n_dslcom_cplus.i] { return }            } }
Packit b40e2e
   { dg-final { if \{ [grep n_dslcom_cplus.i "^\[ \]*a;\[ \]*$"] != ""  \} \{   } }
Packit b40e2e
   { dg-final { return \}                                               } }
Packit b40e2e
   { dg-final { fail "n_dslcom_cplus.C: double slash comment"           } }
Packit b40e2e
 */
Packit b40e2e