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

15 lines
382 B
C

// Build don't link:
// Special g++ Options: -ansi -Wall -pedantic
// GROUPS passed ARM-compliance
// arm file
// From: Olaf.Weber@cwi.nl
// Date: Fri, 2 Dec 1994 09:14:25 +0100
// Subject: Omitting & when obtaining a pointer to member function.
// Message-ID: <9412020814.AA00604=olaf@havik.cwi.nl>
struct C {
void foo();
};
void (C::*pfm)() = C::foo;// ERROR - .*