blob: 03521b1ef10244bdc31a570346d1e381ea022717 [file] [log] [blame]
// PR c++/14688
// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
class one
{
public:
virtual void
test(void* value); // { dg-message "overridden" }
};
class two : public one
{
public:
void __attribute__((regparm(2)))
test(void* value); // { dg-error "conflicting type attributes" }
};
class three : public one
{
public:
void __attribute__ ((cdecl))
test(void* value); // OK
};