Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/parse/parens2.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR c++/8842. */ /* { dg-do compile } */ int main( int argc, char* argv[] ) { int i = 5; // This always worked: // double l1 = double(int(i)) / double(int(i)); // But this used to give a parse error before the `/' token: double l2 = (double(int(i)) / double(int(i))); }