[ create a new paste ] login | about

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

C++, pasted on Nov 16:
1
2
3
4
5
6
7
8
9
10
#include <iostream>
#include <vector>

std::vector<int> meth() {

}

int main() {
std::cout << meth().size() << std::endl;
}


Output:
1
2
3
cc1plus: warnings being treated as errors
In function '__gnu_debug_def::vector<int, std::allocator<int> > meth()':
Line 6: warning: control reaches end of non-void function


Create a new paste based on this one


Comments: