blob: 057978c32752f60e99599d2e6172d6077a07c322 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// { 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;
|