]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/libcxx/modules/stdint_h_exports.sh.cpp
Vendor import of libc++ trunk r290819:
[FreeBSD/FreeBSD.git] / test / libcxx / modules / stdint_h_exports.sh.cpp
1 //===----------------------------------------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 // REQUIRES: modules-support
11
12 // Test that int8_t and the like are exported from stdint.h not inttypes.h
13
14 // RUN: %build_module
15
16 #include <stdint.h>
17
18 int main() {
19   int8_t x; ((void)x);
20 }