☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype15.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/decltype15.C
code
plain
raw
1
// PR c++/38640
2
// { dg-do compile { target c++11 } }
3
4
template<int N> void foo (decltype (N));
5
template<long int N> void foo (decltype (N));
6
7
void
8
bar (void)
9
{
10
foo<5> (6);
11
foo<5L> (6L);
12
}