summaryrefslogtreecommitdiffstats
path: root/libcxx/test/utilities/meta/meta.trans/meta.trans.other/enable_if2.fail.cpp
blob: 8ce894578c4fd40f43f7651c4a407f1b876aea7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===----------------------------------------------------------------------===//
//
//                     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.
//
//===----------------------------------------------------------------------===//

// type_traits

// enable_if

#include <type_traits>

int main()
{
#if _LIBCPP_STD_VER > 11
    typedef std::enable_if_t<false> A;
#else
    static_assert ( false, "" );
#endif
}
OpenPOWER on IntegriCloud