summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cs/UNI-11662.cs
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cs/UNI-11662.cs')
-rwxr-xr-xdebian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cs/UNI-11662.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cs/UNI-11662.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cs/UNI-11662.cs
new file mode 100755
index 00000000..9a49fdba
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/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 };
+ }
+}