2 // Copyright (C) 2000 Free Software Foundation, Inc.
3 // Contributed by Nathan Sidwell 23 Feb 2000 <nathan@codesourcery.com>
4 // Derived from a bug report by Marko Maekelae <Marko.Makela@HUT.FI>
10 sizeof ( void ()); // { dg-error "" } ISO forbids
11 sizeof ( void (A::*) ());
12 sizeof ( void (A::*) () const);
14 sizeof (void (*) () const); // { dg-error "" } invalid quals
15 sizeof ( void () const); // { dg-error "" } ISO forbids, ERROR - invalid quals