URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [arm16.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-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;// { dg-error "" } .*