OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [p11110.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
// prms-id: 11110
3
 
4
class data;
5
 
6
class conatiner {
7
public:
8
  virtual void* first    ();
9
  virtual data* contents (void* i);     // { dg-message "candidate is" }
10
};
11
 
12
class user {
13
public:
14
  data* data1 () const;
15
private:
16
  conatiner& _c;
17
};
18
 
19
data* user::data1() const {
20
  return (_c.contents (_c.first));      // { dg-error "match" }
21
}

powered by: WebSVN 2.1.0

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