[ create a new paste ] login | about

Link: http://codepad.org/9uzqQZkG    [ raw code | output | fork ]

C++, pasted on Nov 7:
1
2
3
4
int main()
{
    new int( 0, 1, 2, 3, 4, 5, 6 );
}


Output:
1
2
3
In function 'int main()':
Line 3: error: new initializer expression list treated as compound expression
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: