diff options
| author | venkataram-nv <vedavamadath@nvidia.com> | 2024-07-16 14:54:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-16 14:54:53 -0700 |
| commit | 05547e25353dd797791c2937679468d529d832d5 (patch) | |
| tree | bc53e95b7b9e69474b83da3e5947712665c4664a /tests/language-feature/types | |
| parent | b5174b473ffb41e92b4efc844f60d7239f3322a3 (diff) | |
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
Diffstat (limited to 'tests/language-feature/types')
| -rw-r--r-- | tests/language-feature/types/is-on-type.slang | 4 |
1 files changed, 2 insertions, 2 deletions
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 : I>(T t) -> int @@ -42,4 +42,4 @@ void computeMain() B b; // CHECK: 2 outputBuffer[0] = test(b); -}
\ No newline at end of file +} |
