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
tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle BIT_FIELD_REF.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p438.C
blob
6e78af16515fba166fd7420a0619cd3d42897a54
1
// { dg-do assemble }
2
// prms-id: 438
3
4
class D;
5
6
class C
7
{
8
public:
9
void test() const;
10
};
11
12
class D
13
{
14
public:
15
void a(C& b); // { dg-message "D::a|no known conversion" }
16
};
17
18
void C::test() const
19
{
20
D d;
21
22
d.a(*this); // { dg-error "match" } *this is const, so should get error
23
// { dg-message "candidate" "candidate note" { target *-*-* } 22 }
24
}