151c0b2f7Stbbdev /*
2b15aabb3Stbbdev     Copyright (c) 2020-2021 Intel Corporation
351c0b2f7Stbbdev 
451c0b2f7Stbbdev     Licensed under the Apache License, Version 2.0 (the "License");
551c0b2f7Stbbdev     you may not use this file except in compliance with the License.
651c0b2f7Stbbdev     You may obtain a copy of the License at
751c0b2f7Stbbdev 
851c0b2f7Stbbdev         http://www.apache.org/licenses/LICENSE-2.0
951c0b2f7Stbbdev 
1051c0b2f7Stbbdev     Unless required by applicable law or agreed to in writing, software
1151c0b2f7Stbbdev     distributed under the License is distributed on an "AS IS" BASIS,
1251c0b2f7Stbbdev     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1351c0b2f7Stbbdev     See the License for the specific language governing permissions and
1451c0b2f7Stbbdev     limitations under the License.
1551c0b2f7Stbbdev */
1651c0b2f7Stbbdev 
1751c0b2f7Stbbdev //! \file test_tbb_header_secondary.cpp
1851c0b2f7Stbbdev //! \brief Test for [all] specification
1951c0b2f7Stbbdev 
20b15aabb3Stbbdev #if __INTEL_COMPILER && _MSC_VER
21b15aabb3Stbbdev #pragma warning(disable : 2586) // decorated name length exceeded, name was truncated
22b15aabb3Stbbdev #endif
23b15aabb3Stbbdev 
24*55f9b178SIvan Kochin #ifndef NOMINMAX
25*55f9b178SIvan Kochin #define NOMINMAX
26*55f9b178SIvan Kochin #endif // NOMINMAX
27*55f9b178SIvan Kochin 
2851c0b2f7Stbbdev #include <exception>
2951c0b2f7Stbbdev 
3051c0b2f7Stbbdev #define CHECK(x) do { if (!(x)) { std::terminate(); } } while (false)
3151c0b2f7Stbbdev #define CHECK_MESSAGE(x, y) CHECK(x);
3251c0b2f7Stbbdev 
3351c0b2f7Stbbdev #define __TBB_TEST_SECONDARY 1
3451c0b2f7Stbbdev #include "test_tbb_header.cpp"
35