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] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-lto-do link }
// { dg-lto-options { { -flto -g } } }
struct _Deque_iterator {
int* _M_cur;
void foo() {}
};
class _Deque_base {
public:
typedef _Deque_iterator iterator;
iterator _M_impl;
};
class deque : public _Deque_base {
public:
typedef _Deque_base::iterator iterator;
};
class OutputContextStack {
public:
deque m_stack;
deque::iterator m_stackPosition;
};
int main()
{
OutputContextStack s;
s.m_stackPosition.foo();
}
Go to most recent revision | Compare with Previous | Blame | View Log