Douglas Gregor | 3e80d8a | 2012-01-29 20:52:14 +0000 | [diff] [blame^] | 1 | // RUN: rm -rf %t |
2 | // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -verify %s | ||||
3 | |||||
4 | @import __compiler_builtins.float_constants; | ||||
5 | |||||
6 | float getFltMax() { return FLT_MAX; } | ||||
7 | |||||
8 | @import __compiler_builtins.limits; | ||||
9 | |||||
10 | char getCharMax() { return CHAR_MAX; } | ||||
11 | |||||
12 | size_t size; // expected-error{{unknown type name 'size_t'}} |