eb125.c

来自「俄罗斯高人Mamaich的Pocket gcc编译器(运行在PocketPC上)」· C语言 代码 · 共 24 行

C
24
字号
// This is a crash test; we don't care how many normal errors we get.// excess errors test - XFAIL *-*-*struct test_box    {     void print(void);    };void test<class BOX> (test_box *);   // ERROR - illegal codeclass test_square    {      friend void test<class BOX> (test_box *); // ERROR - does not match    }template <class BOX> void test(BOX *the_box)  // ERROR - semicolon missing    {    the_box->print();    };template void test<> (test_box *);

⌨️ 快捷键说明

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