summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/60050-semicolon-removal-after-ternary-operator.cpp
blob: a344480b47ae6b253ac22069225dc939d7e62e43 (plain)
1
2
3
4
5
6
7
8
9
std::string StrGet()
{
	return IsConnected() ? "Connected" : {};
}

std::string StrGet2()
{
	return !IsConnected() ? {} : "Connected";
}