escape-2.c

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

C
21
字号
/* Copyright (C) 2001 Free Software Foundation, Inc.  *//* { dg-do compile } *//* { dg-options "-pedantic -std=c99 -fno-show-column" } *//* This tests various diagnostics with -pedantic about escape   sequences, for both the preprocessor and the compiler.   Neil Booth, 22 May 2001.  */#if '\e'		/* { dg-warning "non-ISO" "non-ISO \\e" } */#endif#if '\u00a0'		/* { dg-bogus "unknown" "\\u is known in C99" } */#endifvoid foo (){  int c = '\E';		/* { dg-warning "non-ISO" "non-ISO \\E" } */  c = '\u00a0';		/* { dg-bogus "unknown" "\\u is known in C99" } */}

⌨️ 快捷键说明

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