typeck2.c

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

C
17
字号
// Build don't link: // GROUPS passed typeck// typeck file// From: Jutta Degener <jutta@cs.tu-berlin.de>// Date:     Wed, 9 Jun 1993 17:58:35 +0200 (MET DST)// Subject:  2.4.3: Type of new <typedef'ed array>// Message-ID: <199306091558.AA19075@mail.cs.tu-berlin.de>  typedef int arr[10];int main()  {        int * p = new int[10];        int * q = new arr;              /* g++ complains, but shouldn't     */        int (* r)[10] = new arr;        /* g++ doesn't complain, but should */// ERROR -   }

⌨️ 快捷键说明

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