1// { dg-do assemble } 2 3// Copyright (C) 2001 Free Software Foundation, Inc. 4// Contributed by Nathan Sidwell 28 Feb 2001 <nathan@codesourcery.com> 5 6// DR 148. Now allows pointer to members in POD struct. 7 8struct X 9{ 10 int X::*m; 11 int (X::*f) (); 12}; 13 14void Foo (int, ...); 15 16void Baz () 17{ 18 X x; 19 20 Foo (1, x); 21} 22