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
/
crash69.C
1
// PR c++/31132
2
3
template<typename T> class A
4
{
5
static int i; // { dg-error "is private" }
6
friend int T::foo(); // { dg-error "does not match" }
7
};
8
9
struct B
10
{
11
void foo() { A<B>::i; } // { dg-error "within|candidate" }
12
};