cmdlne-c2.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 22 行

C
22
字号
/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.  *//* { dg-do preprocess } *//* { dg-options "-C" } *//* This tests that C++ comments are either dropped, or converted to C   comments in macro expansions.  The + in the regexp stops it from   matching itself 8-)   Neil Booth, 9 Oct 2001.  */#define ZERO 0 // A commentZERO:/*   { dg-final { if ![file exists cmdlne-C2.i] { return }                  } }   { dg-final { if { [grep cmdlne-C2.i "c+omment:"] == "" } { return }    } }   { dg-final { fail "cmdlne-C2.i: C++ comments in macros with -C"        } }*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?