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/] [ext/] [ms-1.C] - Blame information for rev 301

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
 
2
// MS allows more things to be pointers to member functions
3
// { dg-options "-fms-extensions" }
4
 
5
struct X
6
{
7
  void Foo (X *);
8
  void Bar ();
9
};
10
 
11
void Quux (void (X::*) ());
12
 
13
void X::Foo (X *ptr)  // { dg-message "candidate" }
14
{
15
  Quux (Foo); // { dg-error "no matches" }
16
  Quux (Bar);
17
}

powered by: WebSVN 2.1.0

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