aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/compiler_builtins.m
blob: 254494a2423b418cb13d829f2b5c0c4925f014c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t %s

@import __compiler_builtins.float_constants;

float getFltMax() { return FLT_MAX; }

@import __compiler_builtins.limits;

char getCharMax() { return CHAR_MAX; }

// FIXME: Re-enable this test.
//size_t size; // expected-error{{unknown type name 'size_t'}}