summaryrefslogtreecommitdiffstats
path: root/cxx/libcpp/foo1.cpp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-06 21:25:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-06 21:25:39 +0000
commitf65262f46b2cfdf205c636f633dffdf91589799d (patch)
tree9ece431f63aaff41a7de8767de33a5aa25806de6 /cxx/libcpp/foo1.cpp
parentThis commit was generated by cvs2svn to compensate for changes in r2, which (diff)
downloadrtems-examples-f65262f46b2cfdf205c636f633dffdf91589799d.tar.bz2
2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, Makefile, cxx_throw/MAIL, cxx_throw/Makefile, cxx_throw/init.cc, libcpp/Makefile, libcpp/README, libcpp/foo.cc, libcpp/foo.h, libcpp/foo1.cpp: New files.
Diffstat (limited to '')
-rw-r--r--cxx/libcpp/foo1.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cxx/libcpp/foo1.cpp b/cxx/libcpp/foo1.cpp
new file mode 100644
index 0000000..f77751f
--- /dev/null
+++ b/cxx/libcpp/foo1.cpp
@@ -0,0 +1,8 @@
+
+#include "foo.h"
+
+ostream& operator << ( ostream & strm, const foo &f, const foo &f1 )
+{
+ strm << f.i ;
+ return strm ;
+}