Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash112.C
blob: ff35764c7c7aa71960cd3e4ebb15dc65e59a7526 [
file
] [
log
] [
blame
]
// PR c++/51370
struct
A
{
template
<typename>
void
foo
()
{}
};
template
<
void
(
A
::*)()>
struct
B
{};
template
<int>
struct
C
{
B
<&
A
::
foo
<
int
int
>
>
b
;
// { dg-error "declaration|type" }
};
C
<
0
>
c
;
// { dg-prune-output "could not convert" }