diff options
Diffstat (limited to 'gdb/testsuite/gdb.rust/simple.rs')
-rw-r--r-- | gdb/testsuite/gdb.rust/simple.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.rust/simple.rs b/gdb/testsuite/gdb.rust/simple.rs index 2dcbea2..cf51715 100644 --- a/gdb/testsuite/gdb.rust/simple.rs +++ b/gdb/testsuite/gdb.rust/simple.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2016-2024 Free Software Foundation, Inc. +// Copyright (C) 2016-2025 Free Software Foundation, Inc. // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -181,6 +181,8 @@ fn main () { let nonzero_offset = EnumWithNonzeroOffset { a: Some(1), b: None }; + let tuple_tuple = ((23i32, 24i32), 25i32); + println!("{}, {}", x.0, x.1); // set breakpoint here println!("{}", diff2(92, 45)); empty(); |