//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // template class fpos // Subraction with fpos #include #include int main() { typedef std::fpos P; P p(11); P q(6); std::streamoff o = p - q; assert(o == 5); }