blob: 099d9221089fd3564de79634b19ce54b3eb976d3 [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed static
class A
{
public:
void member(void)
{
}
static void staticMember()
{
member (); // illegal, no object for calling non-static method// { dg-error "" } .*
}
};
int main()
{
A::staticMember();
}