aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/lab_rat.cpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-01-15 12:28:00 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-01-15 12:28:00 +0300
commit502a96bad52fcfd2e87b5b32e23df0dbe3ce4d8e (patch)
treeac8214ce154eb497271f8b139f3540753659fb4c /test/lab_rat.cpp
parentAppVeyor: basic enum_symbols test (diff)
downloadwinapi-debug-502a96bad52fcfd2e87b5b32e23df0dbe3ce4d8e.tar.gz
winapi-debug-502a96bad52fcfd2e87b5b32e23df0dbe3ce4d8e.zip
lab_rat: namespace the functions
Diffstat (limited to 'test/lab_rat.cpp')
-rw-r--r--test/lab_rat.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/lab_rat.cpp b/test/lab_rat.cpp
index 24f75c6..ae93c7b 100644
--- a/test/lab_rat.cpp
+++ b/test/lab_rat.cpp
@@ -1,5 +1,7 @@
#include <iostream>
+namespace lab_rat {
+
void baz() {
std::cout << "baz\n";
}
@@ -14,7 +16,9 @@ void foo() {
bar();
}
+} // namespace lab_rat
+
int main() {
- foo();
+ lab_rat::foo();
return 0;
}