diff --git a/source/cppfront.cpp b/source/cppfront.cpp index 7bd7b5a001..b8ded91a2f 100644 --- a/source/cppfront.cpp +++ b/source/cppfront.cpp @@ -2001,6 +2001,10 @@ class cppfront assert(n.identifier); emit(*n.identifier); + if (n.is_constexpr) { + printer.print_cpp2(" constexpr", n.position()); + } + printer.print_cpp2(" (", n.position()); printer.add_pad_in_this_line(1);