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

📄 pascal-strings-3.c

📁 Mac OS X 10.4.9 for x86 Source Code gcc 实现源代码
💻 C
字号:
/* APPLE LOCAL file pascal strings *//* Ensure that there are no warnings or errors issued when a Pascal string is used to   initialize an array and the NUL terminator does not fit.  *//* Author: Ziemowit Laski <zlaski@apple.com> *//* { dg-do compile } *//* { dg-options "-fpascal-strings" } */typedef unsigned char Str15[16];Str15 ggg = "\p012345678901234";Str15 hhh = "\p0123456789012345"; /* { dg-warning "initializer.string for array of chars is too long" } */int foo(void){  Str15 sss = "\p012345678901234";  Str15 ttt = "\p0123456789012345"; /* { dg-warning "initializer.string for array of chars is too long" } */  return 0;}

⌨️ 快捷键说明

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