fork download
#include 
using namespace std;

int main() {
	int* foo = new foo[];
	return 0;
}
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:5:17: error: expected type-specifier before ‘foo’
  int* foo = new foo[];
                 ^
prog.cpp:5:7: warning: unused variable ‘foo’ [-Wunused-variable]
  int* foo = new foo[];
       ^
stdout

Standard output is empty