OSDN Git Service

Initial revision
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.mike / net10.C
1 // Build don't link:
2 // Special g++ Options: -pedantic-errors
3
4 const ci=10, *pc = &ci, *const cpc = pc, **ppc;
5 int i, *p, *const cp = &i;
6
7 main()
8 {
9   i = ci;
10   *cp = ci;
11   pc++;
12   pc = cpc;
13   pc = p;
14   ppc = &pc;
15 }