blob: 4546bf1bd0bc3758533019642e6440c733ef4de3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Build don't link:
// Special g++ Options: -pedantic-errors
const int ci=10, *pc = &ci, *const cpc = pc, **ppc;
int i, *p, *const cp = &i;
int main()
{
i = ci;
*cp = ci;
pc++;
pc = cpc;
pc = p;
ppc = &pc;
}
|