summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cpp/34197-bug_1161.cpp
blob: 34740f5a4a438941c1f381da574384b113d7a89f (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Use case from issue #1161
class test
{
	// comment 1 (gets methods)
	public:
		// get 1
		int get1();
		// get 2
		int get2();




	// comment 2 (sets methods)
	public:
		// set 1
		int set1();
		// set2
		int set2();

};

// Use cases from issue #2704
class Foo
{
	public:
		/// @name Constructors
		/// @{

		Foo(int value) : value_(value)
		{
		}

		/// @}

	private:
		int value_;
};

class Bar
{
	public:
		/*!
		 * @name Constructors
		 * @{
		 */

		Bar(int value) : value_(value)
		{
		}

		/*! @} */

	private:
		int value_;
};