summaryrefslogtreecommitdiffstats
path: root/lldb/test/global_variables/TestGlobalVariables.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/global_variables/TestGlobalVariables.py')
-rw-r--r--lldb/test/global_variables/TestGlobalVariables.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/global_variables/TestGlobalVariables.py b/lldb/test/global_variables/TestGlobalVariables.py
index 4bb7f4f385e..581d123d205 100644
--- a/lldb/test/global_variables/TestGlobalVariables.py
+++ b/lldb/test/global_variables/TestGlobalVariables.py
@@ -56,6 +56,9 @@ class GlobalVariablesTestCase(TestBase):
'GLOBAL: (const char *) g_file_static_cstr',
'"g_file_static_cstr"'])
+ # 'frame variable' should support address-of operator.
+ self.runCmd("frame variable &g_file_global_int")
+
if __name__ == '__main__':
import atexit
OpenPOWER on IntegriCloud