diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/d/static_if.d')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/d/static_if.d | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/d/static_if.d b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/d/static_if.d deleted file mode 100644 index 24e6eaba..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/d/static_if.d +++ /dev/null @@ -1,14 +0,0 @@ -ClLinearExpression opBinary(string op) (double constant) - { - static if (op == "+") - return new ClLinearExpression(this, 1, constant); - else - static if (op == "-") - return new ClLinearExpression(this, 1, -constant); - else - static if (op == "*") - return new ClLinearExpression(this, constant, 0); - else - static if (op == "/") - return new ClLinearExpression(this, 1.0 / constant, 0); - } |