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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ext/] [addrfunc3.C] - Blame information for rev 823

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do run  }
2
// { dg-options "-fpermissive -w" }
3
// Test for overload resolution in comparison expressions.
4
// Contributed by Jason Merrill .
5
 
6
void f (int) { }
7
void f ();
8
 
9
int main () {
10
  void (*p)(int);
11
  p = f;
12
  if (p != f)
13
    return 1;
14
}

powered by: WebSVN 2.1.0

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