gdb
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / pointers.exp
index 55321404cf247a5d7fd53b1db86a2915268eef55..d7d17e777cd6f99fb5e709a201855469b2dbb57e 100644 (file)
@@ -596,3 +596,7 @@ gdb_expect {
     timeout             { fail "(timeout) ptype ppppppC" }
 }
 
+# Regression test for a crash.
+
+gdb_test "p instance.array_variable + 0" \
+  " = \\(long int \\*\\) 0x\[0-9a-f\]*"
This page took 0.025355 seconds and 4 git commands to generate.