diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-02 17:22:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-02 17:22:12 +0200 |
commit | ed60746355044dd39acd82b8f42c4d9886914567 (patch) | |
tree | a958825cb9bca8960eafb41c373d91e22ca9e4ed /tests/specifier/test.cli | |
parent | 62166bfe7031522bd851eb5d7047a19182e24a45 (diff) |
Implement generation of specifier functions (--generate-specifier)
These functions determine whether the option was specified on the command
line. New test: specifier.
Diffstat (limited to 'tests/specifier/test.cli')
-rw-r--r-- | tests/specifier/test.cli | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/specifier/test.cli b/tests/specifier/test.cli new file mode 100644 index 0000000..e9c9ad0 --- /dev/null +++ b/tests/specifier/test.cli @@ -0,0 +1,13 @@ +// file : tests/specifier/test.cli +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +include <string>; + +class options +{ + bool -a; + int -b = 1; + std::string -c; +}; |