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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [call7.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// Contributed by Dodji Seketeli 
2
// Origin: PR c++/17395
3
// { dg-do compile }
4
 
5
template struct X { };
6
 
7
void fu(int a, X) { }
8
 
9
template
10
void bhar(T a, X) { }
11
 
12
int
13
main()
14
{
15
  int x;
16
  X y;
17
  fu(x, y);
18
  bhar(x, y);
19
}

powered by: WebSVN 2.1.0

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