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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=c++0x" }
2
 
3
template 
4
struct Handle
5
{
6
    Handle(T& t);
7
};
8
 
9
template
10
struct Class {
11
    struct Struct {} data;
12
    void f();
13
    void g();
14
};
15
 
16
template
17
void Class::f() {
18
    Handle< decltype((data)) > handle(data);
19
}
20
 
21
template
22
void Class::g() {
23
    Handle< decltype((data)) > handle(data);
24
}

powered by: WebSVN 2.1.0

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