bolt/deps/llvm-18.1.8/clang/test/CodeGen/X86/cmpccxadd-builtins-error-32.c
2025-02-14 19:21:04 +01:00

8 lines
330 B
C

// RUN: %clang_cc1 %s -ffreestanding -triple=i386-unknown-unknown \
// RUN: -target-feature +cmpccxadd -emit-llvm -fsyntax-only -verify
#include <immintrin.h>
int test_cmpccxadd32(void *__A, int __B, int __C) {
return _cmpccxadd_epi32(__A, __B, __C, 0); // expected-error {{call to undeclared function '_cmpccxadd_epi32'}}
}