1 // { dg-options "-std=c++0x -Woverflow" }
5 operator"" _w(unsigned long long)
9 operator"" _w(long double)
12 int i = 12345678901234567890123456789012345678901234567890_w;
13 int j = 12345678901234567890123456789.012345678901234567890e+1234567890_w;
14 int k = 12345678901234567890123456789.012345678901234567890e-1234567890_w;
16 // { dg-warning "integer literal exceeds range of " "" { target *-*-* } 12 }
17 // { dg-warning "floating literal exceeds range of " "" { target *-*-* } 13 }
18 // { dg-warning "floating literal truncated to zero" "" { target *-*-* } 14 }