Index: gdb/testsuite/gdb.base/break1.c |
diff --git a/gdb/testsuite/gdb.base/break1.c b/gdb/testsuite/gdb.base/break1.c |
index af4f2b0a5f88ae94af5952114cbc52a51b8d3eb6..8d54cef08bdf4f273bf29c14c90ba675be60f4cb 100644 |
--- a/gdb/testsuite/gdb.base/break1.c |
+++ b/gdb/testsuite/gdb.base/break1.c |
@@ -1,7 +1,6 @@ |
/* This testcase is part of GDB, the GNU debugger. |
- Copyright 1992-1995, 1999, 2002-2003, 2007-2012 Free Software |
- Foundation, Inc. |
+ Copyright 1992-2013 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 |
@@ -29,6 +28,23 @@ struct some_struct |
struct some_struct values[50]; |
+/* Some definitions for tag completion. */ |
+enum some_enum { VALUE }; |
+ |
+enum some_enum some_enum_global; |
+ |
+union some_union |
+{ |
+ int f1; |
+ double f2; |
+}; |
+ |
+union some_union some_union_global; |
+ |
+/* A variable with a name "similar" to the above struct, to test that |
+ tag completion works ok. */ |
+int some_variable; |
+ |
/* The following functions do nothing useful. They are included |
simply as places to try setting breakpoints at. They are |
explicitly "one-line functions" to verify that this case works |