wparentheses-4.c

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

C
20
字号
// Test that -Wparentheses does not give bogus warnings in the// presence of templates for non-plain assignment.  Bug 17120.// { dg-do compile }// { dg-options "-Wparentheses" }template<typename _Tp>  inline _Tp  cmath_power(_Tp __x, unsigned int __n)  {    while (__n >>= 1)      ;    return __x;  }int main(){  cmath_power(1.0, 3);}

⌨️ 快捷键说明

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