8sa1-gcc/gcc/testsuite/g++.old-deja/g++.other/cvqual1.C
Mark Mitchell 634790f4bd typeck.c (qualify_type): Remove.
* typeck.c (qualify_type): Remove.
	(composite_pointer_type): Fix handling of conversions to `cv void*'.

From-SVN: r36889
2000-10-16 18:41:49 +00:00

11 lines
156 B
C

// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
int i = 3;
void *pv=&i;
const void* pcv=&i;
int main()
{
pcv = 0 ? pv : pcv;
}