blob: 5802e46f1b8f68c7bab9eed8308d5ca23a4aaa42 [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// typedef decltype(nullptr) nullptr_t;
#include <cstddef>
int main(int, char**)
{
std::ptrdiff_t i = static_cast<std::ptrdiff_t>(nullptr);
return 0;
}