summaryrefslogtreecommitdiff
path: root/clang/test/Sema/builtins-decl.c
blob: 19bdb840ccfb26a151f22faf693f2bb49ef41986 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 %s -fsyntax-only -verify -triple=i686-mingw32
// RUN: %clang_cc1 %s -fsyntax-only -verify -triple=x86_64-mingw32

// mingw-w64's intrin.h has decls below.
// we should accept them.
extern unsigned int __builtin_ia32_crc32qi (unsigned int, unsigned char);
extern unsigned int __builtin_ia32_crc32hi (unsigned int, unsigned short);
extern unsigned int __builtin_ia32_crc32si (unsigned int, unsigned int);