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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
refinit1.C
blob
e120078e56c586de857c3b186e82192e3b658044
1
// { dg-do assemble }
2
// Test that we don't allow multiple user-defined conversions in reference
3
// initialization.
4
5
struct B { };
6
7
struct A {
8
A (const B&);
9
};
10
11
struct C {
12
operator B ();
13
};
14
15
C c;
16
17
const A& ref (c); // { dg-error "" } requires two UDCs