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