blob: cf44b32c5ed6de76f25a9d07743a7a7bcc161cdb [file] [log] [blame]
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title>Test structs.</title>
<script src="js/whlsl-test-harness.js"></script>
<script src="js/webgpu-functions.js"></script>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
const whlslTests = {};
whlslTests.storeNull = async () =>
{
await checkFail(
`
void foo() { *null = 42; }
`);
}
runTests(whlslTests);
</script>
</html>