[flang][nfc] Move `external-hello-world` to flang/examples
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Wed, 16 Jun 2021 08:00:50 +0000 (08:00 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Wed, 16 Jun 2021 08:00:50 +0000 (08:00 +0000)
commit062644bb399bd05fd0aeb3cb9d52fa0014db0bdd
tree22029a324041a482ffd19851f4b24f6536f10a5f
parenta6be6e31f1810012922e50dab0d4c15cdf990d2e
[flang][nfc] Move `external-hello-world` to flang/examples

As `external-hello-world` is not really a test, I am moving it from
`flang/unittest/Runtime` to `flang/examples` (it makes a lot of sense as
an example). I've not modified the source code (apart from adjusting the
include paths).

Differential Revision: https://reviews.llvm.org/D104320
flang/CMakeLists.txt
flang/examples/CMakeLists.txt [new file with mode: 0644]
flang/examples/external-hello.cpp [moved from flang/unittests/Runtime/external-hello.cpp with 93% similarity]
flang/unittests/Runtime/CMakeLists.txt