diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-05-11 23:10:34 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-05-11 23:10:34 +0000 |
commit | 82ebe9a2744f79107fbec455182285c954784f24 (patch) | |
tree | b28b5937a42e9e6d11a67ce8240f56512bfe34de /ld/cdtest-bar.cc | |
parent | f9d3d71ae87f7fd6863696306e2cd08f5f6e4c74 (diff) | |
download | gdb-82ebe9a2744f79107fbec455182285c954784f24.zip gdb-82ebe9a2744f79107fbec455182285c954784f24.tar.gz gdb-82ebe9a2744f79107fbec455182285c954784f24.tar.bz2 |
* ldver.c (ldversion): Updated version number.
* cdtest-foo.cc: Use explicit "#pragma implementation".
* cdtest-bar.cc: Renamed from cdtest-func.cc.
* Makefile.in: References to cdtest-func.o changed to cdtest-bar.o.
Diffstat (limited to 'ld/cdtest-bar.cc')
-rw-r--r-- | ld/cdtest-bar.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/cdtest-bar.cc b/ld/cdtest-bar.cc new file mode 100644 index 0000000..79000e3 --- /dev/null +++ b/ld/cdtest-bar.cc @@ -0,0 +1,17 @@ +// test program for Class Foo + +#include "cdtest-foo.h" + +static Foo static_foo( "static_foo"); + +Foo f() +{ + Foo x; + return x; +} + +void g() +{ + Foo other_foo1 = Foo( "other_foo1"), other_foo2 = Foo( "other_foo2"); + other_foo2 = other_foo1; +} |