annotate clang/test/Sema/builtins-decl.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 %s -fsyntax-only -verify -triple=i686-mingw32
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 %s -fsyntax-only -verify -triple=x86_64-mingw32
anatofuz
parents:
diff changeset
3 // expected-no-diagnostics
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 // mingw-w64's intrin.h has decls below.
anatofuz
parents:
diff changeset
6 // we should accept them.
anatofuz
parents:
diff changeset
7 extern unsigned int __builtin_ia32_crc32qi (unsigned int, unsigned char);
anatofuz
parents:
diff changeset
8 extern unsigned int __builtin_ia32_crc32hi (unsigned int, unsigned short);
anatofuz
parents:
diff changeset
9 extern unsigned int __builtin_ia32_crc32si (unsigned int, unsigned int);
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 // GCC documents these as unsigned, but they are defined with a signed argument.
anatofuz
parents:
diff changeset
12 extern int __builtin_ffs(int);
anatofuz
parents:
diff changeset
13 extern int __builtin_ffsl(long);
anatofuz
parents:
diff changeset
14 extern int __builtin_ffsll(long long);