================ @@ -1,6 +1,6 @@ // RUN: mlir-translate --mlir-to-cpp %s | FileCheck %s -emitc.class @modelClass { +emitc.class final @modelClass { ---------------- mtrofin wrote: I'd add a separate test for final. Otherwise lgtm https://github.com/llvm/llvm-project/pull/145977