complex3.c

来自「用于进行gcc测试」· C语言 代码 · 共 29 行

C
29
字号
// PR c++/31780// { dg-do run }// { dg-options "" }// Test that we can implicitly convert to _Complex, but that it's worse// than a scalar arithmetic conversion.extern "C" void exit (int);int r = 0;void f (_Complex int) { ++r; }void f (double) { }void g (_Complex int) { }int main(){  f (1);  g (1);  return r;}void bar(){  r ? 0i : 0;}

⌨️ 快捷键说明

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