summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_aggregate_default_initializers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/cxx_aggregate_default_initializers.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_aggregate_default_initializers.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/cxx_aggregate_default_initializers.cpp b/Tests/CompileFeatures/cxx_aggregate_default_initializers.cpp
index 63a3713..3d1076f 100644
--- a/Tests/CompileFeatures/cxx_aggregate_default_initializers.cpp
+++ b/Tests/CompileFeatures/cxx_aggregate_default_initializers.cpp
@@ -1,5 +1,8 @@
-struct X { int i, j, k = 42; };
+struct X
+{
+ int i, j, k = 42;
+};
int someFunc()
{