synopsis.pass.cpp 572 B

12345678910111213141516171819202122232425
  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. // <utility>
  9. // XFAIL: c++98, c++03
  10. // #include <initializer_list>
  11. #include <utility>
  12. #include "test_macros.h"
  13. int main(int, char**)
  14. {
  15. std::initializer_list<int> x;
  16. (void)x;
  17. return 0;
  18. }