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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [ms-1.C] - Blame information for rev 706

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

Line No. Rev Author Line
1 693 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.