From 05547e25353dd797791c2937679468d529d832d5 Mon Sep 17 00:00:00 2001 From: venkataram-nv Date: Tue, 16 Jul 2024 14:54:53 -0700 Subject: Warnings function parameters (#4626) * Handle out/inout functions with separate consideration * Fixing bug with passing aliasable instructions * Handle autodiff functions (fwd and rev) in warning system * Handling interface methods * Handling ref parameters like out/inout * Temporary fix to remaining bugs * Refactoring methods and tests * Recursive check for empty structs * Using default initializable interface in tests * Resolving CI fail --- tests/language-feature/types/is-on-type.slang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/language-feature') diff --git a/tests/language-feature/types/is-on-type.slang b/tests/language-feature/types/is-on-type.slang index e9dd48fcf..728f759ad 100644 --- a/tests/language-feature/types/is-on-type.slang +++ b/tests/language-feature/types/is-on-type.slang @@ -18,7 +18,7 @@ struct A : I struct B : I { - float2 f2; + float2 f2 = float2(0.0f); }; func test(T t) -> int @@ -42,4 +42,4 @@ void computeMain() B b; // CHECK: 2 outputBuffer[0] = test(b); -} \ No newline at end of file +} -- cgit v1.2.3