struct NoDefault { NoDefault(float f); }; int main() { NoDefault arr[4]; return 0; }
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:8: error: no matching function for call to ‘NoDefault::NoDefault()’ prog.cpp:3: note: candidates are: NoDefault::NoDefault(float) prog.cpp:2: note: NoDefault::NoDefault(const NoDefault&) prog.cpp:8: warning: unused variable ‘arr’
Standard output is empty