struct A {};
typedef char c;
typedef c *cp;
typedef cp *cpp;
typedef cpp *cppp;
typedef cppp &cpppr;
typedef const cppp &cpppcr;
typedef const char cc;
typedef cc *ccp;
typedef volatile ccp ccvp;
typedef ccvp *ccvpp;
typedef const volatile ccvpp ccvpcvp;
typedef ccvpcvp *ccvpcvpp;
typedef int iar[100];
typedef iar &iarr;
typedef int (*f)(int);
void t_cc()
{
ccvpcvpp var = 0;
char ***var2 = (cppp)(var);
char ***const &var3 = var2;
char ***&var4 = (cpppr)(var3);
char *** var5 = (cppp)(var4);
const int ar[100] = {0};
int *pi = (int*)(ar);
f fp = 0;
f *fpp = (f*)(&fp);
int const A::* const A::*icapcap = 0;
int A::* A::* iapap = (int A::* A::*)(icapcap);
}
struct B : public A {}; struct C1 : public virtual B {}; struct C2 : public virtual B {};
struct D : public C1, public C2 {}; struct E : private A {}; struct F : public C1 {}; struct G1 : public B {};
struct G2 : public B {};
struct H : public G1, public G2 {};
enum Enum { En1, En2 };
enum Onom { On1, On2 };
struct Co1 { operator int(); };
struct Co2 { Co2(int); };
struct Co3 { };
struct Co4 { Co4(Co3); operator Co3(); };
void t_529_2()
{
int i = 1;
(void)(float)(i);
double d = 1.0;
(void)(float)(d);
(void)(int)(d);
(void)(char)(i);
(void)(unsigned long)(i);
(void)(int)(En1);
(void)(double)(En1);
(void)(int&)(i);
(void)(const int&)(i);
int ar[1];
(void)(const int*)(ar);
(void)(void (*)())(t_529_2);
(void)(void*)(0);
(void)(void*)((int*)0);
(void)(volatile const void*)((const int*)0);
(void)(A*)((B*)0);
(void)(A&)(*((B*)0));
(void)(const B*)((C1*)0);
(void)(B&)(*((C1*)0));
(void)(A*)((D*)0);
(void)(const A&)(*((D*)0));
(void)(int B::*)((int A::*)0);
(void)(void (B::*)())((void (A::*)())0);
(void)(A*)((E*)0); (void)(void*)((const int*)0);
(void)(int)(Co1());
(void)(Co2)(1);
(void)(Co3)((Co4)(Co3()));
}
void t_529_4()
{
(void)(1);
(void)(t_529_4);
}
void t_529_5_8()
{
(void)(B*)((A*)0);
(void)(B&)(*((A*)0));
(void)(const G1*)((A*)0);
(void)(const G1&)(*((A*)0));
(void)(B*)((const A*)0); (void)(B&)(*((const A*)0)); (void)(E*)((A*)0); (void)(E&)(*((A*)0));
(void)(C1*)((A*)0); (void)(C1&)(*((A*)0)); (void)(D*)((A*)0); (void)(D&)(*((A*)0)); (void)(H*)((A*)0); (void)(H&)(*((A*)0));
}
void t_529_7()
{
(void)(Enum)(1);
(void)(Enum)(1.0);
(void)(Onom)(En1);
(void)(Enum)((int*)0); }
void t_529_10()
{
(void)(int*)((void*)0);
(void)(const A*)((void*)0);
(void)(int*)((const void*)0); }
void t_529_9()
{
(void)(int A::*)((int B::*)0);
(void)(int A::*)((int H::*)0); (void)(int A::*)((int F::*)0); }
enum test { testval = 1 };
struct structure { int m; };
typedef void (*fnptr)();
void integral_conversion()
{
void *vp = (void*)(testval);
long l = (long)(vp);
(void)(float*)(l);
fnptr fnp = (fnptr)(l);
(void)(char)(fnp); (void)(long)(fnp);
}
void pointer_conversion()
{
int *p1 = 0;
float *p2 = (float*)(p1);
structure *p3 = (structure*)(p2);
typedef int **ppint;
ppint *deep = (ppint*)(p3);
(void)(fnptr*)(deep);
}
void constness()
{
int ***const ipppc = 0;
int const *icp = (int const*)(ipppc);
(void)(int*)(icp); int const *const **icpcpp = (int const* const**)(ipppc); int *ip = (int*)(icpcpp);
(void)(int const*)(ip);
(void)(int const* const* const*)(ipppc);
}
void fnptrs()
{
typedef int (*fnptr2)(int);
fnptr fp = 0;
(void)(fnptr2)(fp);
void *vp = (void*)(fp);
(void)(fnptr)(vp);
}
void refs()
{
long l = 0;
char &c = (char&)(l);
(void)(int&)(&c); }
void memptrs()
{
const int structure::*psi = 0;
(void)(const float structure::*)(psi);
(void)(int structure::*)(psi);
void (structure::*psf)() = 0;
(void)(int (structure::*)())(psf);
(void)(void (structure::*)())(psi); (void)(int structure::*)(psf); }