includes.pass.cpp 534 B

12345678910111213141516171819202122
  1. //===----------------------------------------------------------------------===//
  2. //
  3. // The LLVM Compiler Infrastructure
  4. //
  5. // This file is dual licensed under the MIT and the University of Illinois Open
  6. // Source Licenses. See LICENSE.TXT for details.
  7. //
  8. //===----------------------------------------------------------------------===//
  9. // UNSUPPORTED: c++98, c++03, c++11
  10. // <experimental/ratio>
  11. // Test that <ratio> is included.
  12. #include <experimental/ratio>
  13. int main()
  14. {
  15. std::ratio<100> x;
  16. ((void)x);
  17. }