blob: c00b7f6d4dd2a7ef3766fa0c75ae7889d5b07f82 [file] [log] [blame]
// { dg-do compile }
// { dg-options "-mcmodel=large" { target { { i?86-*-* x86_64-*-* } && lp64 } } }
struct ICCStringClass
{
virtual void *
CreateString (const char *fromText) = 0;
};
struct AGSCCDynamicObject
{
virtual void
Unserialize (int index, const char *serializedData, int dataSize) = 0;
};
struct ScriptString:AGSCCDynamicObject, ICCStringClass
{
virtual void *CreateString (const char *fromText);
};
const char *
CreateNewScriptString (const char *fromText, bool reAllocate = true);
void *
ScriptString::CreateString (const char *fromText)
{
return (void *) CreateNewScriptString (fromText);
}