Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
call8.C
blob: 04609dd508d14203af784b8e06cb1c9285291827 [
file
] [
log
] [
blame
]
// PR c++/100344
// { dg-do compile { target c++11 } }
template
<class>
constexpr
int
find_index
()
{
return
1
;
}
template
<
int
,
class
T
>
void
foo
(
T
);
template
<
class
T
>
void
get
(
T v
)
{
foo
<
find_index
<
T
>()>(
v
);
}
int
main
()
{
get
(
0
);
}