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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [template5.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
// Copyright (C) 2003 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 28 Jan 2003 
5
 
6
// PR 3902. More type/decl confusion.
7
 
8
template 
9
struct S
10
{
11
  S foo (T (T));
12
  S foo (T(const T&));
13
};
14
 
15
int main ()
16
{
17
  S (S::*pf1)(int (int)) = &S::foo;
18
  S (S::*pf2)(int (const int&)) = &S::foo;
19
}

powered by: WebSVN 2.1.0

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