Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
sfinae31.C
blob: 8695ebca30725b0d0336d6d97b83533ad0b667e8 [
file
] [
log
] [
blame
]
// PR c++/51973
// { dg-do compile { target c++11 } }
template
<
class
T
>
void
f
(
T t
)
{
}
template
<
class
T
>
decltype
(
f
<
T
>(
0
))
g
();
template
<
class
T
>
decltype
(
f
<
T
*>(
0
))
g
();
int
main
()
{
g
<void>
();
}