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