1 | // Make sure we correctly handle $ in variable names. |
---|---|
2 | |
3 | int main() { |
4 | // Some variables that might conflict with our variables below. |
5 | int __lldb_expr_result = 2; |
6 | int $$foo = 1; |
7 | int R0 = 2; |
8 | |
9 | // Some variables with dollar signs that should work (and shadow |
10 | // any built-in LLDB variables). |
11 | int $__lldb_expr_result = 11; |
12 | int $foo = 12; |
13 | int $R0 = 13; |
14 | int $0 = 14; |
15 | |
16 | return 0; // break here |
17 | } |
18 |