2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / pod1.C
blobb70892683270d1acb6d52cbb8dd437cfd4e946eb
1 // { dg-do assemble  }
3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 28 Feb 2001 <nathan@codesourcery.com>
6 // DR 148. Now allows pointer to members in POD struct.
8 struct X
10   int X::*m;
11   int (X::*f) ();
14 void Foo (int, ...);
16 void Baz ()
18   X x;
19   
20   Foo (1, x);