Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype53.C
blob: 4580e97b7521a3beb1dd8e8b164d375354ebf073 [
file
] [
log
] [
blame
]
// PR c++/57092
// { dg-do compile { target c++11 } }
template
<
void
(*
F
)(
int
)>
class
B
{
decltype
(
F
)
v
;
};
void
foo
(
int
)
{}
B
<foo>
o
;