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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [template9.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// PRMS Id: 4864
3
// Bug: g++ can't deal with a guiding declaration which comes before the
4
// template.
5
 
6
void f (const int&, const int&);
7
template  void f (const T&, const T&) { }
8
 
9
void g (int a)
10
{
11
  f (a,a); // { dg-bogus "" } two identical candidates
12
}

powered by: WebSVN 2.1.0

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