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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [pr51567-1_0.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
// { dg-lto-do link }
2
// { dg-lto-options { { -flto -g } } }
3
 
4
struct _Deque_iterator {
5
    int* _M_cur;
6
    void foo() {}
7
};
8
class _Deque_base {
9
public:
10
    typedef _Deque_iterator iterator;
11
    iterator _M_impl;
12
};
13
class deque : public _Deque_base {
14
public:
15
    typedef _Deque_base::iterator iterator;
16
};
17
class OutputContextStack {
18
public:
19
    deque m_stack;
20
    deque::iterator m_stackPosition;
21
};
22
int main()
23
{
24
  OutputContextStack s;
25
  s.m_stackPosition.foo();
26
}
27
 

powered by: WebSVN 2.1.0

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