diff --git a/test/behavior/asm.zig b/test/behavior/asm.zig index 5c446e5f85..e365936798 100644 --- a/test/behavior/asm.zig +++ b/test/behavior/asm.zig @@ -15,6 +15,10 @@ comptime { \\.type this_is_my_alias, @function; \\.set this_is_my_alias, derp; ); + } else if (builtin.zig_backend == .stage2_spirv64) { + asm ( + \\%a = OpString "hello there" + ); } } @@ -24,7 +28,6 @@ test "module level assembly" { if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_c and builtin.os.tag == .windows) return error.SkipZigTest; // MSVC doesn't support inline assembly