3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 6 Sep 2003 <nathan@codesourcery.com>
5 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
7 // PR c++/11788 we failed to instantiate a decl, and we lost some side
12 template <typename> struct A
14 A &active () { flag++;}
19 static void bar (int) {}
27 return &a.active ().foo;
33 return &a.active ().bar;
40 return &a.active ().m;