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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [overload9.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
// PR c++/32232
2
 
3
template  struct A;
4
template  struct B {};
5
template  A& operator<<(A&, const B&);
6
 
7
template 
8
struct A
9
{
10
  A& operator<<(A& (*)(A&));
11
};
12
 
13
template  A& foo(A&);
14
extern A c;
15
 
16
int main () {
17
  c << (1, foo); // { dg-error "no context" }
18
}

powered by: WebSVN 2.1.0

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