aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/decl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/decl.cc')
-rw-r--r--gcc/d/decl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/decl.cc b/gcc/d/decl.cc
index b08d797..7ec0caf 100644
--- a/gcc/d/decl.cc
+++ b/gcc/d/decl.cc
@@ -2235,7 +2235,7 @@ aggregate_initializer_decl (AggregateDeclaration *decl)
tree
layout_class_initializer (ClassDeclaration *cd)
{
- NewExp *ne = NewExp::create (cd->loc, NULL, NULL, cd->type, NULL);
+ NewExp *ne = NewExp::create (cd->loc, NULL, cd->type, NULL);
ne->type = cd->type;
Expression *e = ne->ctfeInterpret ();