OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [init/] [synth2.C] - Blame information for rev 318

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/34180
2
 
3
struct G {
4
  G();                          // { dg-message "" "candidate" }
5
  G(G&);                  // { dg-message "" "candidate" }
6
};
7
 
8
class A
9
{                               // { dg-error "no match" }
10
  const G g;
11
};
12
 
13
int main()
14
{
15
  A a;
16
  A b = a;                      // { dg-message "required here" }
17
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.