1int bar() {
2 int i = 3; //%self.expect("source info", substrs=["Lines found in module ", "second.cpp:2"])
3 return i; //%self.expect("source info", substrs=["Lines found in module ", "second.cpp:3"])
4 //%self.expect("source info --name main", substrs=["Lines found in module ", "main.cpp:7", "main.cpp:10"])
5}
6

source code of lldb/test/API/commands/source/info/second.cpp