(v0.19-24-g0617ca1 with changes)
#include <iostream>
Go to the source code of this file.
|
int | f (int a, int line) |
|
int | main (int, const char **) |
|
◆ f()
int f |
( |
int |
a, |
|
|
int |
line |
|
) |
| |
Definition at line 4 of file cctest.cpp.
5 std::cout <<
"called f(" << a <<
") from line " << line << std::endl;
Referenced by throttle::watch::action(), collectStats(), consumer(), createFile(), creator(), buffqueue::dequeue(), buffqueue::enqueue(), copyRequest::base::expandAttrValue(), options::parser::fReadConfigFiles(), main(), readAndDeleteFile(), and copyRequest::base::setStatPrinter().
◆ main()
int main |
( |
int |
, |
|
|
const char ** |
|
|
) |
| |
Definition at line 10 of file cctest.cpp.
11 if (
f(3, __LINE__) - 1 >
f(5, __LINE__) &&
12 f(4, __LINE__) == 0) {
13 std::cout <<
"test 1" << std::endl;
15 if (
f(3, __LINE__) - 1 >
f(5, __LINE__) &&
17 f(4, __LINE__) == 0) {
18 std::cout <<
"test 2" << std::endl;
20 if ((
f(3, __LINE__) - 1 >
f(5, __LINE__)) &&
21 (
f(4, __LINE__) == 0)) {
22 std::cout <<
"test 3" << std::endl;
24 if ((
f(3, __LINE__) - 1 >
f(5, __LINE__)) &&
26 (
f(4, __LINE__) == 0)) {
27 std::cout <<
"test 4" << std::endl;
References f().