diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cs/UNI-11662.cs')
-rwxr-xr-x | debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cs/UNI-11662.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cs/UNI-11662.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cs/UNI-11662.cs new file mode 100755 index 00000000..9a49fdba --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cs/UNI-11662.cs @@ -0,0 +1,10 @@ +namespace Unity +{ + public class Class + { + // doesn't work because ; gets removed but + public static readonly Class A = new Class() { name = "A", id = 1 }; + // works and ; doesn't get removed + public static readonly Class B = new Class { name = "B", id = 2 }; + } +} |