| 1 |
// PR c++/105931 |
| 2 |
// { dg-do compile { target c++11 } } |
| 3 |
// A version of decltype82.C where N is unsigned. |
| 4 |
|
| 5 |
template<unsigned N> |
| 6 |
void f() { |
| 7 |
using ty1 = decltype((5 % N) == 0); |
| 8 |
using ty2 = decltype((5 / N) == 0); |
| 9 |
} |
| 10 |
|
| 11 |
template void f<0>(); |