FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / init15.C
blobb51285c8cf8921c229d7bfc06fe21f24fca15abc
1 // Build don't link:
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   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   ;