blob: 01d77235a48e942c3250efe27c401650ecc1d3e3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title>Bad add.</title>
<script src="js/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.badAdd = async () =>
{
await checkFail(
`
void foo(int x, uint y)
{
uint z = x + y;
}
`);
}
runTests(whlslTests);
</script>
</html>