Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype15.C
blob: f19819cfd19809ffd1c9e7c0799c3fe20b1c64f4 [
file
] [
log
] [
blame
]
// PR c++/38640
// { dg-do compile { target c++11 } }
template
<
int
N
>
void
foo
(
decltype
(
N
));
template
<
long
int
N
>
void
foo
(
decltype
(
N
));
void
bar
(
void
)
{
foo
<
5
>
(
6
);
foo
<
5L
>
(
6L
);
}