aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/X86/cmpccxadd-builtins-error-32.c
blob: aa6a0842aa6511bc85bed063bef94d3bdb38df72 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 %s -ffreestanding -triple=i386-unknown-unknown \
// RUN: -target-feature +cmpccxadd  -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'}}
}