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

📄 900210_06.c

📁 Mac OS X 10.4.9 for x86 Source Code gcc 实现源代码
💻 C
字号:
// { dg-do assemble  }// g++ 1.36.1 bug 900210_06// g++ allows values of pointer-to-const types to be assigned to variables// of pointer-to-non-const types.// Cfront 2.0 disallows such assignments.// g++ also allows values of pointer-to-volatile types to be assigned to// variables of pointer-to-non-volatile types.// Cfront 2.0 *would* disallow this (if it only supported "volatile").// keywords: pointer types, implicit type conversionsconst char *ccp;volatile char *vcp;char *cp;void function (){  cp = ccp;		/* { dg-error "" } */  cp = vcp;		/* { dg-error "" } */}int main () { return 0; }

⌨️ 快捷键说明

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