diff options
Diffstat (limited to 'test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp')
-rw-r--r-- | test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp b/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp new file mode 100644 index 0000000000000..1ab07670fc268 --- /dev/null +++ b/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp @@ -0,0 +1,19 @@ +//===----------------------------------------------------------------------===// +// +// 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() +{ + typedef std::enable_if<false>::type A; +} |