diff --git a/test/vast/Dialect/HighLevel/scopes.c b/test/vast/Dialect/HighLevel/scopes.c new file mode 100644 index 0000000000..9942f302fe --- /dev/null +++ b/test/vast/Dialect/HighLevel/scopes.c @@ -0,0 +1,7 @@ +// RUN: %vast-front -vast-emit-mlir=hl -o - %s | %file-check %s + +// CHECK: hl.func +// CHECK: core.scope { +// CHECK-NEXT: } +// CHECK: core.implicit.return +void startrek_user_init(void){{}}