aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestCSharp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Format/FormatTestCSharp.cpp')
-rw-r--r--clang/unittests/Format/FormatTestCSharp.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestCSharp.cpp b/clang/unittests/Format/FormatTestCSharp.cpp
index 7166e4e..3b04238 100644
--- a/clang/unittests/Format/FormatTestCSharp.cpp
+++ b/clang/unittests/Format/FormatTestCSharp.cpp
@@ -1149,6 +1149,17 @@ public class SaleItem
public decimal Price { get; set; }
})",
MicrosoftStyle);
+
+ verifyFormat("internal class Program\n"
+ "{\n"
+ " bool AutoAllowKnownApps\n"
+ " {\n"
+ " get;\n"
+ " [Simple]\n"
+ " set;\n"
+ " }\n"
+ "}",
+ MicrosoftStyle);
}
TEST_F(FormatTestCSharp, DefaultLiteral) {