Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
nontype9.C
blob: e16eef601870d339c44c70c997d9833820b40acc [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-prune-output "mangled name" }
// Contributed by: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
int
i
;
template
<
void
(&
FN
)()>
struct
g
{
void
foo
(
void
)
{
FN
();
}
};
void
h
()
{
i
=
7
;
}
template
struct
g
<h>
;