builtin3.c
来自「linux下编程用 编译软件」· C语言 代码 · 共 14 行
C
14 行
// Verify that declaring builtin in namespace std doesn't give us// declaration in global namespace// { dg-do compile }// { dg-options "" }namespace std {extern "C" int printf(char*, ...);}void foo() { printf("abc"); // { dg-error "not declared" }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?