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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [link1.C] - Blame information for rev 305

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do link  }
2
// Origin: Mark Mitchell 
3
 
4
template 
5
int f(T);
6
 
7
template 
8
struct S {
9
  template 
10
  friend int f(U) { return 0; }
11
};
12
 
13
int k = f(2);
14
 
15
template 
16
int g(T);
17
 
18
int h = g(7);
19
 
20
template 
21
int g(T) {
22
  S si;
23
  return 0;
24
}
25
 
26
int main()
27
{
28
}
29
 

powered by: WebSVN 2.1.0

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