OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
error22.C
1
//PR c++/27821
2
3
struct A
4
{
5
template<void (A::*)()> struct B {};
6
void ::foo(); // { dg-error "invalid use" }
7
B<&A::foo> b; // { dg-error "incomplete type|template argument" }
8
};
9