repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
parse
/
access8.C
blob
45f4be70288aaaad7a8a472e2adf62083c030f3b
1
// PR c++/22618
2
3
class foo
4
{
5
typedef int memfun; // { dg-error "private" }
6
};
7
8
template<foo::memfun>
9
struct fm_obj { }; // { dg-error "context" }
10
11
template <typename T = foo::memfun> // { dg-error "context" }
12
struct S {};