⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 builtins.c

📁 this is a gcc file, you can download it and learn its usetility, for further detail please look at t
💻 C
字号:
/* Test that builtin-macros are OK.  *//* { dg-do run } */#include "builtins.h"void abort (void);char *strstr (const char *, const char *); int strcmp (const char *, const char *);#define LINE __LINE__#if __LINE__ != 13# error __LINE__ part 1  /* { dg-bogus "__LINE__" } */#endif#if \  __LINE__ != 18# error __LINE__ part 2  /* { dg-bogus "__LINE__" } */#endif#if LINE != 22# error __LINE__ part 3  /* { dg-bogus "__LINE__" } */#endif#if __INCLUDE_LEVEL != 0# error __INCLUDE_LEVEL__  /* { dg-bogus "__INCLUDE_LEVEL__" } */#endif#if !defined (__TIME__)# error __TIME__  /* { dg-bogus "__TIME__" } */#endif#if !defined (__DATE__)# error __DATE__  /* { dg-bogus "__DATE__" } */#endifint main (){  /* level is defined in builtins.h.  */  if (level != 1)    abort ();  if (!strstr (__FILE__, "builtins.c"))    abort ();  if (!strcmp (__BASE_FILE__, "builtins.c"))    abort ();  return 0;}

⌨️ 快捷键说明

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