Debian Codegraph @

libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.compile.fail.cpp

raw
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 // type_traits
10
11 // enable_if
12
13 #include <type_traits>
14
15 int main(int, char**)
16 {
17 typedef std::enable_if<false>::type A;
18
19 return 0;
20 }