diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-11-03 03:03:54 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-11-03 03:03:54 +0200 |
| commit | e2313b85d7f0d10c0995ea9887bee00c2763290a (patch) | |
| tree | 84ee6761ec41ba330df81eb864b06d03aefe6988 /test cases/common/96 default library/eftest.cpp | |
| parent | e96a31cce4bec7e734ef56624212441e4702cf0e (diff) | |
| download | meson-e2313b85d7f0d10c0995ea9887bee00c2763290a.tar.gz | |
Refactored builtin options to a dictionary and created a new default library target type.
Diffstat (limited to 'test cases/common/96 default library/eftest.cpp')
| -rw-r--r-- | test cases/common/96 default library/eftest.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test cases/common/96 default library/eftest.cpp b/test cases/common/96 default library/eftest.cpp new file mode 100644 index 000000000..4d4412d75 --- /dev/null +++ b/test cases/common/96 default library/eftest.cpp @@ -0,0 +1,14 @@ +#include"ef.h" + +#include<iostream> + +int main(int, char **) { + Ef var; + if(var.get_x() == 99) { + std::cout << "All is fine.\n"; + return 0; + } else { + std::cout << "Something went wrong.\n"; + return 1; + } +} |
