| 1 |
// { dg-do compile { target c++11 } } |
| 2 |
// PR c++/52654 |
| 3 |
|
| 4 |
int |
| 5 |
operator ""_w(const char*) |
| 6 |
{ return 0; } |
| 7 |
|
| 8 |
template<char...> |
| 9 |
int |
| 10 |
operator ""_tw() |
| 11 |
{ return 0; } |
| 12 |
|
| 13 |
int i = 12345678901234567890123456789012345678901234567890_w; |
| 14 |
int j = 12345678901234567890123456789.012345678901234567890e+1234567890_w; |
| 15 |
int k = 12345678901234567890123456789.012345678901234567890e-1234567890_w; |
| 16 |
|
| 17 |
int ti = 12345678901234567890123456789012345678901234567890_tw; |
| 18 |
int tj = 12345678901234567890123456789.012345678901234567890e+1234567890_tw; |
| 19 |
int tk = 12345678901234567890123456789.012345678901234567890e-1234567890_tw; |