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
/
explicit1.C
blob
123efb743b2d427b668582aa8154ff5e73315dc8
1
// { dg-do assemble }
2
// Origin: Jason Merrill <jason@redhat.com>
3
4
struct A
5
{
6
A ();
7
explicit A (int);
8
};
9
10
int main ()
11
{
12
const A& r = 1; // { dg-error "" } no suitable constructor
13
}