// -*- C++ -*-
//===-- version.pass.cpp --------------------------------------------------===//
//
// Copyright (C) Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// This file incorporates work covered by the following copyright and permission
// notice:
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
//
//===----------------------------------------------------------------------===//

#include "support/test_config.h"

#include _PSTL_TEST_HEADER(version)

#if !__has_include(<execution>)
static_assert(_PSTL_VERSION == 14000);
static_assert(_PSTL_VERSION_MAJOR == 14);
static_assert(_PSTL_VERSION_MINOR == 00);
static_assert(_PSTL_VERSION_PATCH == 0);
#endif

static_assert(ONEDPL_VERSION_MAJOR == 2022);
static_assert(ONEDPL_VERSION_MINOR == 13);
static_assert(ONEDPL_VERSION_PATCH == 0);

#include "support/utils.h"

int main() {

    return TestUtils::done();
}
