Changed to facilitate 'breakpoint set -n Puts', then 'thread step-out' to workaround
rdar://problem/8464339 test/types directory: b basic_type.cpp:171 does not work, while gdb does work.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114557 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/types/basic_type.cpp b/test/types/basic_type.cpp
index ad5ee54..7e0748c 100644
--- a/test/types/basic_type.cpp
+++ b/test/types/basic_type.cpp
@@ -82,6 +82,11 @@
#include <stdint.h>
#include <stdio.h>
+void Puts(char const *msg)
+{
+ puts(msg);
+}
+
int
main (int argc, char const *argv[])
{
@@ -168,6 +173,6 @@
printf ("(a_union_zero_t[]) a_union_zero_array_unbounded[1].a = '" T_PRINTF_FORMAT "'\n", a_union_zero_array_unbounded[1].a);
#endif
- puts ("About to exit, break here to check values...");
+ Puts("About to exit, break here to check values...");
return 0;
}