aboutsummaryrefslogtreecommitdiff
path: root/test/libcxx/modules/cinttypes_exports.sh.cpp
blob: ce39ceea44d9bf259e3f9e50663bb8c801adaf53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// This test fails on Windows because the underlying libc headers on Windows
// are not modular
// XFAIL: LIBCXX-WINDOWS-FIXME

// REQUIRES: modules-support

// Test that <cinttypes> re-exports <cstdint>

// RUN: %build_module

#include <cinttypes>

int main() {
  int8_t x; ((void)x);
  std::int8_t y; ((void)y);
}