8sa1-gcc/gcc/testsuite/g++.old-deja/g++.law/parsing1.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

22 lines
370 B
C

// Build don't link:
// GROUPS passed parsing
// parsing folder
// From: hendrik%vedge.UUCP@iro.umontreal.ca
// Date: Wed, 23 Sep 92 17:10:28 -0400
// Subject: parenthesized method
// Message-ID: <9209232110.AA02533@.>
class goo{
public:
void noo_bloo();
};
void choo(goo* too)
{ (too->noo_bloo)();
}
void choo_too(goo* too)
{ too->noo_bloo();
}