repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p11110.C
blob
6be0a08685f2dd84cf441bb41ec147b201226a64
1
// { dg-do assemble }
2
// prms-id: 11110
3
4
class data;
5
6
class conatiner {
7
public:
8
virtual void* first ();
9
virtual data* contents (void* i); // { dg-error "" } candidates
10
};
11
12
class user {
13
public:
14
data* data1 () const;
15
private:
16
conatiner& _c;
17
};
18
19
data* user::data1() const {
20
return (_c.contents (_c.first)); // { dg-error "" }
21
}