26 lines
670 B
C++
26 lines
670 B
C++
//===----------------------------------------------------------------------===//
|
|
//
|
|
// 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 <cstdint> re-exports <stdint.h>
|
|
|
|
// RUN: %build_module
|
|
|
|
#include <cstdint>
|
|
|
|
int main() {
|
|
int8_t x; ((void)x);
|
|
std::int8_t y; ((void)y);
|
|
}
|