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/] [expr/] [ptrmem6.C] - Blame information for rev 315

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

Line No. Rev Author Line
1 301 jeremybenn
// PR C++/21614
2
// { dg-additional-sources "ptrmem6a.C" }
3
// { dg-do run }
4
 
5
extern struct Z *p;
6
extern int (Z::*m) ();
7
 
8
int main () {
9
  if ((p->*m)() == 7)
10
    return 0;
11
  return 1;
12
}

powered by: WebSVN 2.1.0

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