builtin1.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 18 行
C
18 行
// { dg-do run }// { dg-options "" }// GROUPS passed builtins// Apparently not in g++ bug snapshot (was originally sent to bug-gcc)// Message-Id: <m0p74Fh-0002fCC@neal.ctd.comsat.com>// Date: Tue, 7 Dec 93 10:23 EST// From: neal@ctd.comsat.com (Neal Becker)// Subject: builtin_alloca on hpux (gcc-2.5.6)// We have to avoid using -ansi, which results in a call to alloca instead of// the use of __builtin_alloca, and thus ends up being unresolved.extern "C" int printf (const char *, ...);void* junk() { return __builtin_alloca(10);}main() { printf ("PASS\n");}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?