1class PrintfContainer {
2public:
3 int printf() {
4 return 0;
5 }
6};
7
8int main() {
9 PrintfContainer().printf(); //% self.expect("expression -- printf(\"Hello\\n\")", substrs = ['6'])
10 return 0;
11}
12
13

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of lldb/test/API/lang/cpp/printf/main.cpp