blob: c5a54892c6b3b765db1b6e84778ea906bd9dc66d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// file : tests/inheritance/test.cli
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
include <string>;
class base1 = 0
{
bool --very-long-flag {"Long flag."};
};
class base2
{
std::string -s {"<str>", "Short string."};
};
class interm: base1
{
int -i = 1 {"<num>", "Integer."};
};
class options: interm, base2
{
std::string --string {"<str>", "Long string."};
};
|