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++.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
}