[LVI][CVP] Add test for trunc bittest. (NFC)
[llvm-project.git] / lldb / test / API / commands / source / info / main.cpp
blob7d714900418f9d3520cdd3743d91fa13526fb444
1 int bar();
3 int foo() {
4 return 3;
7 int main() {
8 int f = foo() + bar();
9 f++;
10 return f; //%self.expect("source info", substrs=["Lines found in module ", "main.cpp:10"])
11 //%self.expect("source info -f main.cpp -c 10", matching=True, substrs=["main.cpp:10"])
12 //%self.expect("source info -f main.cpp -c 1", matching=False, substrs=["main.cpp:10"])
13 //%self.expect("source info -f main.cpp -l 10", matching=False, substrs=["main.cpp:7"])