brintos

brintos / llvm-project-archived public Read only

0
0
Text · 895 B · 93b11ee Raw
28 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8// UNSUPPORTED: c++03, c++11, c++14, c++179 10// <vector>11 12// class vector13 14// template<class T, class Allocator>15//   constexpr synth-three-way-result<T> operator<=>(const vector<T, Allocator>& x,16//                                                   const vector<T, Allocator>& y);17 18#include <cassert>19#include <vector>20 21#include "test_container_comparisons.h"22 23int main(int, char**) {24  assert(test_sequence_container_spaceship<std::vector>());25  static_assert(test_sequence_container_spaceship<std::vector>());26  return 0;27}28