151c0b2f7Stbbdev /*
2*b15aabb3Stbbdev     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 
20*b15aabb3Stbbdev #if __INTEL_COMPILER && _MSC_VER
21*b15aabb3Stbbdev #pragma warning(disable : 2586) // decorated name length exceeded, name was truncated
22*b15aabb3Stbbdev #endif
23*b15aabb3Stbbdev 
2451c0b2f7Stbbdev #include <exception>
2551c0b2f7Stbbdev 
2651c0b2f7Stbbdev #define CHECK(x) do { if (!(x)) { std::terminate(); } } while (false)
2751c0b2f7Stbbdev #define CHECK_MESSAGE(x, y) CHECK(x);
2851c0b2f7Stbbdev 
2951c0b2f7Stbbdev #define __TBB_TEST_SECONDARY 1
3051c0b2f7Stbbdev #include "test_tbb_header.cpp"
31