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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [instantiate1.C] - Blame information for rev 305

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

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
 
3
template 
4
void f(T t) {}
5
 
6
template void f(int);
7
template void f<>(long);
8
 
9
template 
10
struct S
11
{
12
  void bar(int) {}
13
 
14
  template 
15
  void baz(U u) {}
16
};
17
 
18
 
19
template struct S;
20
template void S::bar(int);
21
template void S::baz(short);
22
template void S::baz<>(char);

powered by: WebSVN 2.1.0

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