Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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>
();
}