aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dap/scopes.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dap/scopes.c')
-rw-r--r--gdb/testsuite/gdb.dap/scopes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dap/scopes.c b/gdb/testsuite/gdb.dap/scopes.c
index a9ad4d8..0453f86 100644
--- a/gdb/testsuite/gdb.dap/scopes.c
+++ b/gdb/testsuite/gdb.dap/scopes.c
@@ -17,13 +17,13 @@
int main ()
{
- struct dei_struct
+ typedef struct dei_struct
{
int x;
int more[5];
- };
+ } dei_type;
- struct dei_struct dei = { 2, { 3, 5, 7, 11, 13 } };
+ dei_type dei = { 2, { 3, 5, 7, 11, 13 } };
static int scalar = 23;