------- Comment #3 from hjl dot tools at gmail dot com  2008-03-07 13:54 -------
Are

bash-3.2$ cat y.cc
class bar
{
public:
  static const int conststaticvariable;
};


int f(void)
{
  return bar::conststaticvariable;
}
bash-3.2$ cat z.cc
extern int foo (void);

class bar
{
public:
  static const int conststaticvariable;
};


const int bar::conststaticvariable = foo ();
bash-3.2$ 

valid C++ program?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35494

Reply via email to