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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [deduct7.C] - Blame information for rev 749

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

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do run  }
2
// Copyright (C) 2001 Free Software Foundation, Inc.
3
// Contributed by Jason Merrill 14 Jun 2001 
4
 
5
// Test that deduction can add cv-quals to a pointer-to-member type.
6
 
7
struct A;
8
int A::* pi;
9
 
10
template  void f (const T A::*) {}
11
 
12
int main ()
13
{
14
  f (pi);
15
}

powered by: WebSVN 2.1.0

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