summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cpp/30099-bug_1127.cpp
blob: 0109baaf9c24c0a0856be44bde1e7c36b3fae5db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <iostream>

template<size_t T>
class MyFoo
{
public:
MyFoo()
{
	std::cout << T << std::endl;
}
};

int main()
{
	const size_t mySize = INT8_MAX * 2;
	MyFoo<mySize * 2> foo1;
	MyFoo<mySize / 2> foo2;
	MyFoo<2 * mySize> foo1;
	MyFoo<2 / mySize> foo2;
}