Reviewed and approved by Daniel Jacobowitz <drow@false.org>
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / constvars.c
index b0ce7529ecb5dc55120feb258ca8e96a0100eeb6..16025770e35c3eeaf4d057975e14d1269f44caa0 100644 (file)
@@ -166,6 +166,11 @@ main (void)
 
   const volatile char              * const volatile vagary = &victor;
   const volatile unsigned char     * const volatile vendor = &vicar;
+  
+  /* various structs with const members */
+
+  struct crass { char * const ptr; } crass;
+  struct crisp { char * const *ptr; } crisp;
 
   /* misc. references */
   /*
This page took 0.028382 seconds and 4 git commands to generate.