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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.bob/] [cond1.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
// prms-id: 9866
3
class TChar
4
        {
5
public:
6
        explicit inline TChar(unsigned int aChar);
7
        inline operator unsigned int() const;
8
private:
9
        unsigned int iChar;
10
   };
11
inline TChar::TChar(unsigned int aChar)
12
        : iChar(aChar)
13
        {}
14
inline TChar::operator unsigned int() const
15
        {return(iChar);}
16
 
17
class TDes8
18
   {
19
public:
20
   inline const unsigned char &operator[](int anIndex) const;
21
        const unsigned char &AtC(int anIndex) const;
22
   };
23
 
24
inline const unsigned char &TDes8::operator[](int anIndex) const
25
        {return(AtC(anIndex));}
26
 
27
 
28
void doExponent(TDes8 &aDigBuf)
29
            {
30
            2 ? TChar(aDigBuf[2]) : '0';
31
            }

powered by: WebSVN 2.1.0

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