#include
using namespace std; int main() { myFunction(); return 0; } void myFunction() { cout << "I just got executed!"; }
In function 'int main()':
5:3: error: 'myFunction' was not declared in this scope