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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [expr/] [ptrmem6.C] - Blame information for rev 693

Details | Compare with Previous | View Log

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