opnsense-src/contrib/libg++/libg++/test-install/bf.cc
Peter Wemm 5acb90c9b6 Import of raw libg++-2.7.2, but in a very cut-down form. There is still
a small amount of unused stuff (by the bmakefiles to follow), but it
isn't much and seems harmless enough.
1996-10-03 21:35:18 +00:00

18 lines
312 B
C++

#include <stream.h>
#include <String.h>
// gcc-2.3.2 is buggy, and can't deal with the following.
// Take the wimpy way out for now until 2.3.3 is released.
#if 0
String s1 = String("Hello ");
#else
String s1("Hello ");
#endif
String s2(" world!\n");
int f()
{
cout << s1 + s2;
return cout.good();
}