X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fcpp%2Fcxxcom2.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fcpp%2Fcxxcom2.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=f0fb2d0114512bcf3443d158583dfcf6670adde6;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/cpp/cxxcom2.c b/gcc/testsuite/gcc.dg/cpp/cxxcom2.c deleted file mode 100644 index f0fb2d01..00000000 --- a/gcc/testsuite/gcc.dg/cpp/cxxcom2.c +++ /dev/null @@ -1,20 +0,0 @@ -/* { dg-do preprocess } */ -/* { dg-options "-pedantic -std=c89" } */ - -/* This is an extension and therefore gets a warning. */ -#line 5 "cxx-comments-2.c" 3 /* { dg-warning "extra tokens" "#line extension" } */ - -/* A system header may contain C++ comments irrespective of mode. */ -// C++ comment is not in C89 { dg-bogus "style comment" "bad warning" } - -/* - { dg-final { if ![file exists cxx-comments-2.i] { return } } } - { dg-final { set tmp [grep cxx-comments-2.i "is not in C89" line] } } - { dg-final { # send_user "$tmp\n" } } - { dg-final { if [regexp "is not in C89" $tmp] \{ } } - { dg-final { fail "cxx-comments-2: comment strip check" } } - { dg-final { \} else \{ } } - { dg-final { pass "cxx-comments-2: comment strip check" } } - { dg-final { \} } } -*/ -