================
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 -triple spirv-unknown-vulkan-compute -x hlsl -emit-llvm
-disable-llvm-passes -o - -hlsl-entry main %s -verify
+
+struct S {
+ float f;
+};
+
+// expected-error@+1 {{'vk::binding' attribute is not compatible with
'vk::push_constant' attribute}}
----------------
s-perron wrote:
I believe these type of test belong in SEMA. This test fails before it reaches
codegen.
https://github.com/llvm/llvm-project/pull/166793
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits