📄 900210_08.c
字号:
// { dg-do assemble }// g++ 1.36.1 bug 900210_08// g++ allows pointer-to-const values to be implicitly converted to// void* values. This causes a silent loss of the const qualifier.// Cfront 2.0 passes this test.// keywords: pointer types, implicit type conversionsconst char *ccp;void *vp;void function (){ vp = ccp; /* { dg-error "" } */}int main () { return 0; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -