☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype82.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/decltype82.C
code
plain
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>();