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.0rc3/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic99.C] - Blame information for rev 301

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

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/43054
2
// { dg-options "-std=c++0x" }
3
 
4
template struct future { };
5
 
6
template
7
 auto
8
 async(Fn&& fn, Args&&... args)
9
 -> future;
10
 
11
template
12
 auto
13
 async(Fn&& fn, Args&&... args)
14
 -> future;
15
 
16
int work2(int value);
17
 
18
void work(int value)
19
{
20
  async(work2, value);
21
}
22
 

powered by: WebSVN 2.1.0

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