diff options
Diffstat (limited to '')
-rw-r--r-- | test cases/fortran/9 cpp/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/fortran/9 cpp/main.cpp b/test cases/fortran/9 cpp/main.cpp new file mode 100644 index 0000000..534a23a --- /dev/null +++ b/test cases/fortran/9 cpp/main.cpp @@ -0,0 +1,8 @@ +#include <iostream> + +extern "C" double fortran(); + +int main(void) { + std::cout << "FORTRAN gave us this number: " << fortran() << '\n'; + return 0; +} |