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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [crash94.C] - Rev 693

Compare with Previous | Blame | View Log

// Origin: PR c++/42697
// { dg-do compile }

template<class Value_t>
class fparser
{
    template<bool Option>
    void eval2(Value_t r[2]);
public:
    void evaltest();
};

template<>
template<bool Option>
void fparser<int>::eval2(int r[2])
{
    struct ObjType {};
}


template<class Value_t>
void fparser<Value_t>::evaltest
    ()
{
    eval2<false>(0);
}

template class fparser<int>;

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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