Skip to content

Commit bfe21d6

Browse files
committed
Break on a stop function in the test
1 parent 2341634 commit bfe21d6

File tree

1 file changed

+4
-1
lines changed
  • lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
void stop() {}
2+
13
int main(int argc, char **argv) {
24
int array[10];
35
array[0] = 0;
46
int (&array_ref)[10] = array;
57
int *p_int0 = &array[0];
68

7-
return 0; // Set a breakpoint here
9+
stop(); // Set a breakpoint here
10+
return 0;
811
}

0 commit comments

Comments
 (0)