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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [spec20.C] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
// Copyright (C) 2005 Free Software Foundation, Inc.
2
// Contributed by Nathan Sidwell 31 Mar 2005 
3
 
4
// Origin: Giovanni Bajo 
5
// Bug 19203: Failure to implement DR 214
6
 
7
template 
8
void foo(const A& a);
9
 
10
template 
11
int foo(RET (&)(ARG1)); // this one
12
 
13
 
14
float decl(int);
15
 
16
int bar(void)
17
{
18
  return foo(decl);
19
}

powered by: WebSVN 2.1.0

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