Back to index

cell-binutils  2.17cvs20070401
cdtest-bar.cc
Go to the documentation of this file.
00001 // test program for Class Foo
00002 
00003 #include "cdtest-foo.h"
00004 
00005 static Foo static_foo( "static_foo"); 
00006 
00007 Foo f()
00008 {
00009     Foo x;
00010     return x;
00011 }
00012 
00013 void g()
00014 {
00015     Foo other_foo1 = Foo( "other_foo1"), other_foo2 = Foo( "other_foo2");
00016     other_foo2 = other_foo1;
00017 }