summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/if_constexpr.cpp
blob: 032f74ece2b51eff2f72eca8933f766e83ffe17a (plain)
1
2
3
4
5
6
7
8
static constexpr int test{
	if constexpr (condition_1)
		return 1;
	else if constexpr (condition_2)
		return 2;
	else
		return 3;
};