Merge from mainline
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / init15.C
blob022f2ef98079f03c03b9191de7291e1d2791e2d4
1 // { dg-do assemble  }
2 // Copyright (C) 2000 Free Software Foundation
3 // Contributed by Nathan Sidwell 21 June 2000 <nathan@codesourcery.com>
5 // Origin GNATS bug report 136 from
6 // language specific constants caused the backend's constant caching machinery
7 // to fall over.
9 struct A {
10   const char *name;
11   int reserved;
12   int a;
13   int b;
14   void (A::*func)();
15   void Fn ();
18 void Interpret() {
19   struct A cmd_list =
20     {"a",0,0, 0,&A::Fn}
21   ;