20000209-1.c

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

C
35
字号
/* { dg-do preprocess } *//* Tests for line numbering around function-like macro calls.   Bug found by Mark Mitchell.  */#define f(x) x#define g ff (3);#error here	/* { dg-error "here" "case 0" } */f  (3);#error here	/* { dg-error "here" "case 1" } */(f  )(3);#error here	/* { dg-error "here" "case 2" } */g  (3);#error here	/* { dg-error "here" "case 3" } */(g  )(3);#error here	/* { dg-error "here" "case 4" } */f /* some     text */  (3);#error here	/* { dg-error "here" "case 5" } */(g /* some      text */ )(3);#error here	/* { dg-error "here" "case 6" } */

⌨️ 快捷键说明

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