fork download
#include <iostream>
 
struct S
{
    int x;
    int y;
    S(int _x, int _y) : x(_x), y(_y) {}
};
 
int main()
{
    S arr[9];
}
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:12: error: no matching function for call to ‘S::S()’
prog.cpp:7: note: candidates are: S::S(int, int)
prog.cpp:4: note:                 S::S(const S&)
prog.cpp:12: warning: unused variable ‘arr’
stdout

Standard output is empty