Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3
#!/bin/bash g++ "$@" -x c++ - <<<'int main() {}' -o /dev/null >/dev/null 2>/dev/null echo -n $?