Style field names in "print"
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / style.c
index 805f500f9577c91139d83ee36e6128563c43dcd4..cb75b3b915ea8afa56139beb6766eff52a61177a 100644 (file)
 
 #define SOME_MACRO 23
 
+enum etype
+{
+  VALUE_ONE = 1,
+  VALUE_TWO = 2
+};
+
+struct some_struct
+{
+  int int_field;
+  char *string_field;
+  enum etype e_field;
+};
+
+struct some_struct struct_value = { 23, "skidoo", VALUE_TWO };
+
 int some_called_function (void)
 {
   return 0;
This page took 0.024818 seconds and 4 git commands to generate.