summaryrefslogtreecommitdiffstats
path: root/libcxx/test/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp')
-rw-r--r--libcxx/test/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/libcxx/test/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp b/libcxx/test/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp
index c4d27dc6b8e..d3a37dad10e 100644
--- a/libcxx/test/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp
+++ b/libcxx/test/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp
@@ -1 +1,19 @@
-//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // type_traits // enable_if #include <type_traits> int main() { typedef std::enable_if<false>::type A; } \ No newline at end of file
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+// type_traits
+
+// enable_if
+
+#include <type_traits>
+
+int main()
+{
+ typedef std::enable_if<false>::type A;
+}
OpenPOWER on IntegriCloud