GDB copyright headers update after running GDB's copyright.py script.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.python / lib-types.cc
index fff19faa08b349f84a536772dd932eb22cbce03b..b0a133d790e9ad1478509d8abf927a795b1c6609 100644 (file)
@@ -1,6 +1,6 @@
 /* This testcase is part of GDB, the GNU debugger.
 
-   Copyright 2010 Free Software Foundation, Inc.
+   Copyright 2010-2016 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
@@ -54,6 +54,34 @@ enum enum1 { A, B, C };
 
 enum1 enum1_obj (A);
 
+struct A
+{
+       int a;
+       union {
+               int b0;
+               int b1;
+               union {
+                       int bb0;
+                       int bb1;
+                       union {
+                               int bbb0;
+                               int bbb1;
+                       };
+               };
+       };
+       int c;
+       union {
+               union {
+                       int dd0;
+                       int dd1;
+               };
+               int d2;
+               int d3;
+       };
+};
+
+struct A a = {1,20,3,40};
+
 int
 main ()
 {
This page took 0.043557 seconds and 4 git commands to generate.