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
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
virtual2.C
blob
9769d4ab730c13c6ddc1113eff2047f1711f023c
1
//PR c++/29022
2
3
struct A
4
{
5
operator int();
6
};
7
8
struct B : virtual A, A<0> {}; // { dg-error "token" }
9
10
int foo(B &b)
11
{
12
return b; // { dg-error "cannot convert" }
13
}