summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/cvqual1.C
blob: e00590a266bc463f52031a64d262287e566aedbf (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

int i = 3;
void *pv=&i;
const void* pcv=&i;
int main() 
{ 
    pcv = 0 ? pv : pcv;
}