empty-include.c

来自「linux下编程用 编译软件」· C语言 代码 · 共 14 行

C
14
字号
/*  * Copyright 2004 Free Software Foundation, Inc. * Contributed and written by Nathanael Nerode. * * GCC 3.4 would attempt to open stdin as the included file * (PR 17610), causing a sort of hang. *  * We should get an error. *//* {dg-do preprocess} */#include "" /* { dg-error "empty" "error on empty filename in include" } */int x; /* Otherwise we have an empty file and get more errors. */

⌨️ 快捷键说明

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