PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / guality / pr63300-const-volatile.c
blobb8d75ed40a84800f42fc9573eefbf5d8918b4022
1 /* PR63300 'const volatile' sometimes stripped in debug info */
2 /* { dg-do run } */
3 /* { dg-options "-g" } */
5 int
6 main (int argc, char **argv)
8 const volatile int v = argc;
9 return v - argc;
12 /* { dg-final { gdb-test 9 "type:v" "const volatile int" } } */