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++.pt/] [deduct7.C] - Diff between revs 154 and 816

Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
// { dg-do run  }
// { dg-do run  }
// Copyright (C) 2001 Free Software Foundation, Inc.
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Jason Merrill 14 Jun 2001 
// Contributed by Jason Merrill 14 Jun 2001 
// Test that deduction can add cv-quals to a pointer-to-member type.
// Test that deduction can add cv-quals to a pointer-to-member type.
struct A;
struct A;
int A::* pi;
int A::* pi;
template  void f (const T A::*) {}
template  void f (const T A::*) {}
int main ()
int main ()
{
{
  f (pi);
  f (pi);
}
}
 
 

powered by: WebSVN 2.1.0

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