Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
error22.C
blob: a7e6172111351381c79b9838830db052f8e088e3 [
file
] [
log
] [
blame
]
//PR c++/27821
struct
A
{
template
<
void
(
A
::*)()>
struct
B
{};
void
::
foo
();
// { dg-error "10:invalid use" }
B
<&
A
::
foo
>
b
;
// { dg-error "incomplete type|template argument" }
};