Skip to content

Commit

Permalink
test: Add file scopem asm test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jezurko authored and xlauko committed Sep 10, 2024
1 parent dea8be5 commit 35a6f3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/vast/Dialect/HighLevel/file-asm-a.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// RUN: %vast-front -vast-emit-mlir=hl %s -o - | %file-check %s
// RUN: %vast-front -vast-emit-mlir=hl %s -o %t && %vast-opt %t | diff -B %t -

// CHECK: hl.file_scope_asm "foo"
asm("foo");

0 comments on commit 35a6f3b

Please sign in to comment.