summaryrefslogtreecommitdiffstats
path: root/libcxx/test/utilities/ratio/ratio.ratio/ratio1.fail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/utilities/ratio/ratio.ratio/ratio1.fail.cpp')
-rw-r--r--libcxx/test/utilities/ratio/ratio.ratio/ratio1.fail.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/libcxx/test/utilities/ratio/ratio.ratio/ratio1.fail.cpp b/libcxx/test/utilities/ratio/ratio.ratio/ratio1.fail.cpp
deleted file mode 100644
index e6dbf710b71..00000000000
--- a/libcxx/test/utilities/ratio/ratio.ratio/ratio1.fail.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-// 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.
-//
-//===----------------------------------------------------------------------===//
-
-// test ratio: The template argument D shall not be zero
-
-#include <ratio>
-#include <cstdint>
-
-int main()
-{
- const std::intmax_t t1 = std::ratio<1, 0>::num;
-}
OpenPOWER on IntegriCloud