Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp0x/udlit-overflow.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// { dg-do compile { target c++11 } } // PR c++/52654 int operator"" _w(const char*) { return 0; } template<char...> int operator"" _tw() { return 0; } int i = 12345678901234567890123456789012345678901234567890_w; int j = 12345678901234567890123456789.012345678901234567890e+1234567890_w; int k = 12345678901234567890123456789.012345678901234567890e-1234567890_w; int ti = 12345678901234567890123456789012345678901234567890_tw; int tj = 12345678901234567890123456789.012345678901234567890e+1234567890_tw; int tk = 12345678901234567890123456789.012345678901234567890e-1234567890_tw;