c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / decltype82.C
blob915e5e37675fbd9c1e30ed60dc8845ceef833080
1 // PR c++/105756
2 // { dg-do compile { target c++11 } }
4 template<int N>
5 void f() {
6   using ty1 = decltype((5 % N) == 0);
7   using ty2 = decltype((5 / N) == 0);
10 template void f<0>();