summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/980502-1.c
blob: f06491cd96c0fe0b28feea7eb16069d2c10e1c30 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile  }*/
/* { dg-options "-O2" } */

char *const f(void)
{
        char *const line = "/dev/ptyXX";
        line[8] = 1;
        return line;
}