if-mpar.c

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

C
25
字号
/* Copyright (C) 2000 Free Software Foundation, Inc.  *//* Test various combinations of missing parentheses give the correct   missing parenthesis message.  *//* { dg-do preprocess } */#if (1          /* { dg-error "missing '\\)'" "missing ')' no. 1" } */#endif#if 2 * (3 + 4	/* { dg-error "missing '\\)'" "missing ')' no. 2" } */#endif#if (2))	/* { dg-error "missing '\\('" "missing '(' no. 1" } */#endif#if )		/* { dg-error "missing '\\('" "missing '(' no. 2" } */#endif#if 4)		/* { dg-error "missing '\\('" "missing '(' no. 3" } */#endif#if (		/* { dg-error "missing '\\)'" "missing ')' no. 3" } */#endif

⌨️ 快捷键说明

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