OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
 
3
template 
4
struct S {};
5
 
6
template 
7
void foo(S);
8
 
9
template 
10
void baz(S);
11
 
12
template 
13
void fun(S, S);
14
 
15
void bar()
16
{
17
  foo<5>(S<4>()); // OK - 4 is 5 - 1.
18
  baz(S()); // OK
19
  fun(S<4>(), S<8>()); // OK - deduce J from first argument.
20
}

powered by: WebSVN 2.1.0

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