From 997df0b4bf3db40eb386429770cfebbc479111d2 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Tue, 21 Aug 2001 19:19:11 +0000 Subject: [PATCH] Added a test program for tests of the Standard C++ Library. --- kdbg/testprogs/Makefile.am | 5 ++++- kdbg/testprogs/std.cpp | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 kdbg/testprogs/std.cpp diff --git a/kdbg/testprogs/Makefile.am b/kdbg/testprogs/Makefile.am index 5b1ddf4..cf4e482 100644 --- a/kdbg/testprogs/Makefile.am +++ b/kdbg/testprogs/Makefile.am @@ -6,7 +6,7 @@ INCLUDES= $(all_includes) CXXFLAGS = -g if BUILDTESTPROGS -PROGS = testfile locals maths +PROGS = testfile locals maths std else PROGS = endif @@ -22,3 +22,6 @@ locals_LDFLAGS = -g maths_SOURCES = maths.cpp maths_LDFLAGS = -g + +std_SOURCES = std.cpp +std_LDFLAGS = -g diff --git a/kdbg/testprogs/std.cpp b/kdbg/testprogs/std.cpp new file mode 100644 index 0000000..f31f3b4 --- /dev/null +++ b/kdbg/testprogs/std.cpp @@ -0,0 +1,9 @@ +#include +#include + +int main() +{ + std::string s = "abc"; + + std::cout << s << endl; +} -- 2.11.4.GIT