blob: 283ff0eefe1c021b18f35cd5fc624ccbee47cc89 [file] [log] [blame]
Douglas Gregor3e80d8a2012-01-29 20:52:14 +00001// RUN: rm -rf %t
Douglas Gregor8101c7f2012-01-29 23:40:50 +00002// RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t %s -Xclang -verify
Douglas Gregor3e80d8a2012-01-29 20:52:14 +00003
4@import __compiler_builtins.float_constants;
5
6float getFltMax() { return FLT_MAX; }
7
8@import __compiler_builtins.limits;
9
10char getCharMax() { return CHAR_MAX; }
11
Douglas Gregor8101c7f2012-01-29 23:40:50 +000012size_t size; // expected-error{{unknown type name 'size_t'}}
Douglas Gregore727d212012-01-30 06:38:25 +000013
14#ifdef __SSE__
15@import __compiler_builtins.intel.sse;
16#endif
17
18#ifdef __AVX2__
19@import __compiler_builtins.intel.avx2;
20#endif