brintos

brintos / llvm-project-archived public Read only

0
0
Text · 634 B · 729dc45 Raw
15 lines · c
1// RUN: %clang_cc1 %s -fsyntax-only -verify -triple=i686-mingw322// RUN: %clang_cc1 %s -fsyntax-only -verify -triple=x86_64-mingw323// expected-no-diagnostics4 5// mingw-w64's intrin.h has decls below.6// we should accept them.7extern unsigned int __builtin_ia32_crc32qi (unsigned int, unsigned char);8extern unsigned int __builtin_ia32_crc32hi (unsigned int, unsigned short);9extern unsigned int __builtin_ia32_crc32si (unsigned int, unsigned int);10 11// GCC documents these as unsigned, but they are defined with a signed argument.12extern int __builtin_ffs(int);13extern int __builtin_ffsl(long);14extern int __builtin_ffsll(long long);15