900210_07.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 22 行
C
22 行
// { dg-do assemble }// { dg-options "" }// g++ 1.36.1 bug 900210_07// g++ allows values of pointer-to-signed types to be assigned to variables// of pointer-to-unsigned types, and vise versa.// Cfront 2.0 passes this test.// keyowrds: pointer types, implicit type conversions// Special Options: -ansi -pedantic-errorssigned int *sip;unsigned int *uip;void function (){ sip = uip; // { dg-error "" } uip = sip; // { dg-error "" } }int main () { return 0; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?