Debian Codegraph @

clang/test/SemaHLSL/BuiltIns/GroupMemoryBarrierWithGroupSync-errors.hlsl

raw
1 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -emit-llvm-only -disable-llvm-passes -verify
2
3 void test_too_many_arg() {
4 __builtin_hlsl_group_memory_barrier_with_group_sync(0);
5 // expected-error@-1 {{too many arguments to function call, expected 0, have 1}}
6 }