1 // Build with "cl.exe /Z7 /GR- /GS- /GX- every-class.cpp /link /debug:full /nodefaultlib /incremental:no /entry:main"
8 void __cdecl
operator delete(void *, unsigned int) {}
9 void __cdecl
operator delete(void *, unsigned __int64
) {}
12 struct Constructor
{ Constructor() {} };
14 Assignment
&operator=(Assignment Other
) { return *this; }
17 operator int() { return 42; }
24 int operator+(int X
) { return 42; }
34 template<typename T
> void f(T t
) {}
36 int main(int argc
, char **argv
) {
55 f
<const Nothing
>(Nothing
{});
56 f
<volatile Nothing
>(Nothing
{});
57 f
<const volatile Nothing
>(Nothing
{});
58 f
<__unaligned Nothing
>(Nothing
{});