brintos

brintos / llvm-project-archived public Read only

0
0
Text · 302 B · 24067fb Raw
7 lines · plain
1// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -emit-llvm-only -disable-llvm-passes -verify2 3void 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}7