Index: gdb/testsuite/gdb.cp/class2.cc |
diff --git a/gdb/testsuite/gdb.cp/class2.cc b/gdb/testsuite/gdb.cp/class2.cc |
index 500b1b8a1f088d292143860a9d67fe74cdda0a5e..5b20984428166d168119ec5728df1685fc1b4ad2 100644 |
--- a/gdb/testsuite/gdb.cp/class2.cc |
+++ b/gdb/testsuite/gdb.cp/class2.cc |
@@ -1,6 +1,6 @@ |
/* This testcase is part of GDB, the GNU debugger. |
- Copyright 2003-2004, 2007-2012 Free Software Foundation, Inc. |
+ Copyright 2003-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 |
@@ -13,8 +13,7 @@ |
GNU General Public License for more details. |
You should have received a copy of the GNU General Public License |
- along with this program. If not, see <http://www.gnu.org/licenses/>. |
- */ |
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
struct A |
{ |
@@ -67,6 +66,7 @@ int main (void) |
B beta, *bbp; |
C gamma; |
empty e; |
+ A &aref (alpha); |
alpha.a1 = 100; |
beta.a1 = 200; beta.b1 = 201; beta.b2 = 202; |