Skip to content

Commit ca2ad04

Browse files
committed
Fix tests on Linux
1 parent 7bdc924 commit ca2ad04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/CodeGenHLSL/inline/SpirvType.incomplete.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
struct S; // expected-note {{forward declaration of 'S'}}
55

6-
// expected-error@hlsl/hlsl_spirv.h:26 {{argument type 'S' is incomplete}}
6+
// expected-error@hlsl/hlsl_spirv.h:24 {{argument type 'S' is incomplete}}
77

88
typedef vk::SpirvOpaqueType</* OpTypeArray */ 28, S, vk::integral_constant<uint, 4>> ArrayOfS; // #1
99
// expected-note@#1 {{in instantiation of template type alias 'SpirvOpaqueType' requested here}}

clang/test/CodeGenHLSL/inline/SpirvType.literal.error.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
22
// RUN: spirv-unknown-vulkan-compute %s -fsyntax-only -verify
33

4-
// expected-error@hlsl/hlsl_spirv.h:20 {{the argument to vk::Literal must be a vk::integral_constant}}
4+
// expected-error@hlsl/hlsl_spirv.h:18 {{the argument to vk::Literal must be a vk::integral_constant}}
55

66
typedef vk::SpirvOpaqueType<28, vk::Literal<float>> T; // #1
77
// expected-note@#1 {{in instantiation of template type alias 'SpirvOpaqueType' requested here}}

0 commit comments

Comments
 (0)