From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- meson/test cases/frameworks/1 boost/nomod.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meson/test cases/frameworks/1 boost/nomod.cpp (limited to 'meson/test cases/frameworks/1 boost/nomod.cpp') diff --git a/meson/test cases/frameworks/1 boost/nomod.cpp b/meson/test cases/frameworks/1 boost/nomod.cpp new file mode 100644 index 000000000..55c95b25c --- /dev/null +++ b/meson/test cases/frameworks/1 boost/nomod.cpp @@ -0,0 +1,18 @@ +#include +#include + +boost::any get_any() { + boost::any foobar = 3; + return foobar; +} + +int main(int argc, char **argv) { + boost::any result = get_any(); + if(boost::any_cast(result) == 3) { + std::cout << "Everything is fine in the world.\n"; + return 0; + } else { + std::cout << "Mathematics stopped working.\n"; + return 1; + } +} -- cgit 1.2.3-korg