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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
#include 
4
 
5
class SyAccess;
6
class VamsBase
7
{
8
        public:
9
        virtual ~VamsBase(void);
10
};
11
 
12
class VamsFnct : public VamsBase
13
{
14
        public:
15
        ~VamsFnct(void);
16
        std::set getNullDependencies(void) const
17
        {       return std::set();
18
        }
19
};
20
 
21
class VamsFnctSystem:public VamsFnct
22
{       public:
23
        VamsFnctSystem(
24
                const bool _bPassDependencies);
25
};
26
 
27
template< std::set (VamsFnct::*__GET_DEP__)(void) const >
28
class VamsSystemFunction:public VamsFnctSystem
29
{       public:
30
        VamsSystemFunction()
31
            :VamsFnctSystem(
32
                __GET_DEP__ != &VamsFnct::getNullDependencies
33
                )
34
        {
35
        }
36
};
37
 
38
VamsSystemFunction<&VamsFnct::getNullDependencies> s;

powered by: WebSVN 2.1.0

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