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.0rc4/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [explicit67.C] - Blame information for rev 519

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
struct S
3
{
4
  void f(int);
5
  void f(double);
6
};
7
 
8
void g(int);
9
void g(double);
10
 
11
template 
12
void foo();
13
template 
14
void foo();
15
 
16
void bar()
17
{
18
  foo(); // { dg-error "" } no matching function
19
  foo();    // { dg-error "" } no matching function
20
 
21
}

powered by: WebSVN 2.1.0

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