Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/decltype82.C

raw
1 // PR c++/105756
2 // { dg-do compile { target c++11 } }
3
4 template<int N>
5 void f() {
6 using ty1 = decltype((5 % N) == 0);
7 using ty2 = decltype((5 / N) == 0);
8 }
9
10 template void f<0>();