Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-tid1.C
blob: 0328502208708f4ca2f3e5102fcbf850e8135ae2 [
file
] [
log
] [
blame
]
// PR c++/87513
// { dg-do compile { target c++11 } }
struct
A
{
template
<long>
void
foo
();
};
template
<
long
t
>
auto
bar
()
->
decltype
(&
A
::
foo
<t>
);
void
foo
()
{
bar
<
0
>
();
}