diff options
Diffstat (limited to 'src/seastar/tests/dist/consumer/pkgconfig_consumer.cc')
-rw-r--r-- | src/seastar/tests/dist/consumer/pkgconfig_consumer.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/seastar/tests/dist/consumer/pkgconfig_consumer.cc b/src/seastar/tests/dist/consumer/pkgconfig_consumer.cc new file mode 100644 index 00000000..a0cce755 --- /dev/null +++ b/src/seastar/tests/dist/consumer/pkgconfig_consumer.cc @@ -0,0 +1,15 @@ +#include <iostream> + +#include <seastar/core/app-template.hh> +#include <seastar/core/future.hh> + +namespace sr = seastar; + +int main(int argc, char** argv) { + sr::app_template app; + + return app.run(argc, argv, [] { + std::cout << "\"Hello\" from the Seastar pkg-config consumer!\n"; + return sr::make_ready_future<>(); + }); +} |