26 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// <deque>11 12// template<class T, class Allocator>13// synth-three-way-result<T> operator<=>(const deque<T, Allocator>& x,14// const deque<T, Allocator>& y);15 16#include <cassert>17#include <deque>18 19#include "test_container_comparisons.h"20 21int main(int, char**) {22 assert(test_sequence_container_spaceship<std::deque>());23 // `std::deque` is not constexpr, so no `static_assert` test here.24 return 0;25}26