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.0rc1/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [overload-conv-2.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// { dg-options "--std=c++0x" }
2
// { dg-do link }
3
 
4
struct T {};
5
struct S
6
{
7
  S(T const &) {}
8
};
9
 
10
void f(const S&);
11
void f(S&&) {}
12
 
13
int main()
14
{
15
  T t;
16
  f(t);
17
}

powered by: WebSVN 2.1.0

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