From da7db7b3dcc8b724ac0a757be4e66e3544054794 Mon Sep 17 00:00:00 2001 From: Ary Borenszweig Date: Wed, 28 Aug 2024 13:39:27 -0300 Subject: [PATCH] Fix test --- compiler/noirc_frontend/src/tests.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/noirc_frontend/src/tests.rs b/compiler/noirc_frontend/src/tests.rs index 87ec1cc4953..254349f8606 100644 --- a/compiler/noirc_frontend/src/tests.rs +++ b/compiler/noirc_frontend/src/tests.rs @@ -2431,6 +2431,10 @@ fn use_super() { mod foo { use super::some_func; } + + fn main() { + some_func(); + } "#; assert_no_errors(src); }