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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [20080625-1.C] - Rev 693

Compare with Previous | Blame | View Log

extern "C" {
    typedef unsigned char sal_Bool;
    typedef struct _rtl_uString {
    } rtl_uString;
    void rtl_uString_release( rtl_uString * str ) throw ();
}
class OUString {
    rtl_uString * pData;
public:
    OUString() {}
    ~OUString() {
        rtl_uString_release( pData );
    }
    sal_Bool equalsIgnoreAsciiCase( const OUString & str ) const;
};
bool findAndRemove();
long getAttributeProps()
{
    long nAttrs = 0;
    OUString aValue;
    if (findAndRemove()
        && aValue.equalsIgnoreAsciiCase(OUString()))
        ;
    else 
        nAttrs |= 1;
    return nAttrs;
}

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.