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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic114.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/49785
2
// { dg-options -std=c++0x }
3
 
4
template  struct B { };
5
template  class A;
6
 
7
template 
8
struct A  : public B 
9
{
10
  struct C {};
11
  template  A (D, C = C ()) { }
12
  R operator () (...);
13
};
14
 
15
template 
16
auto operator >> (A , T)->A 
17
{
18
  []() {};
19
}
20
 
21
int
22
main ()
23
{
24
  A  a = [](int, int) {};
25
  auto b = []{};
26
  (a >> b) (3, 5);
27
}

powered by: WebSVN 2.1.0

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