From ed60746355044dd39acd82b8f42c4d9886914567 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Jun 2010 17:22:12 +0200 Subject: Implement generation of specifier functions (--generate-specifier) These functions determine whether the option was specified on the command line. New test: specifier. --- tests/specifier/test.cli | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/specifier/test.cli (limited to 'tests/specifier/test.cli') 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 +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +include ; + +class options +{ + bool -a; + int -b = 1; + std::string -c; +}; -- cgit