summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lang/cpp/namespace/ns3.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-07-28 11:09:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-07-28 11:09:23 +0000
commitf73363f1dd94996356cefbf24388f561891acf0b (patch)
treee3c31248bdb36eaec5fd833490d4278162dba2a0 /packages/Python/lldbsuite/test/lang/cpp/namespace/ns3.cpp
parent160ee69dd7ae18978f4068116777639ea98dc951 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/cpp/namespace/ns3.cpp')
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/ns3.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/Python/lldbsuite/test/lang/cpp/namespace/ns3.cpp b/packages/Python/lldbsuite/test/lang/cpp/namespace/ns3.cpp
index 10b0df784225..205e1931f3e0 100644
--- a/packages/Python/lldbsuite/test/lang/cpp/namespace/ns3.cpp
+++ b/packages/Python/lldbsuite/test/lang/cpp/namespace/ns3.cpp
@@ -13,15 +13,15 @@ extern int func();
// Note: the following function must be before the using.
void test_lookup_before_using_directive()
{
- // BP_before_using_directive
- printf("before using directive: func() = %d\n", func()); // eval func(), exp: 1
+ // BP_before_using_directive
+ std::printf("before using directive: func() = %d\n", func()); // eval func(), exp: 1
}
using namespace A;
void test_lookup_after_using_directive()
{
- // BP_after_using_directive
- //printf("func() = %d\n", func()); // eval func(), exp: error, amiguous
- printf("after using directive: func2() = %d\n", func2()); // eval func2(), exp: 3
- printf("after using directive: ::func() = %d\n", ::func()); // eval ::func(), exp: 1
- printf("after using directive: B::func() = %d\n", B::func()); // eval B::func(), exp: 4
+ // BP_after_using_directive
+ //printf("func() = %d\n", func()); // eval func(), exp: error, amiguous
+ std::printf("after using directive: func2() = %d\n", func2()); // eval func2(), exp: 3
+ std::printf("after using directive: ::func() = %d\n", ::func()); // eval ::func(), exp: 1
+ std::printf("after using directive: B::func() = %d\n", B::func()); // eval B::func(), exp: 4
}