1 // { dg-do assemble  }
2 // { dg-options "-ansi -Wall -pedantic" }
3 // GROUPS passed ARM-compliance
4 // arm file
5 // From: Olaf.Weber@cwi.nl
6 // Date:     Fri, 2 Dec 1994 09:14:25 +0100
7 // Subject:  Omitting & when obtaining a pointer to member function.
8 // Message-ID: <9412020814.AA00604=olaf@havik.cwi.nl>
9 
10 struct C {
11         void foo();
12 };
13 
14 void (C::*pfm)() = C::foo;// { dg-error "" } .*
15