Skip to content

Commit

Permalink
test:hl: Add test for empty scope inside an empty function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jezurko committed Oct 26, 2023
1 parent ffbbcc7 commit ba9c487
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/vast/Dialect/HighLevel/scopes.c
Original file line number Diff line number Diff line change
@@ -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){{}}

0 comments on commit ba9c487

Please sign in to comment.