Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
fn.C
blob: 6b5f09ae2d01a39328c0dc5481f202552ccefc08 [
file
] [
log
] [
blame
]
// instantiation cannot turn a data member into a function!
typedef
int
(
frib
)
(
int
);
template
<
typename
T
>
class
X
{
T v
;
// { dg-error "declared function" }
};
X
<frib>
v
;