1878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant//===----------------------------------------------------------------------===// 2878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant// 3878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant// The LLVM Compiler Infrastructure 4878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant// 5b64f8b07c104c6cc986570ac8ee0ed16a9f23976Howard Hinnant// This file is dual licensed under the MIT and the University of Illinois Open 6b64f8b07c104c6cc986570ac8ee0ed16a9f23976Howard Hinnant// Source Licenses. See LICENSE.TXT for details. 7878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant// 8878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant//===----------------------------------------------------------------------===// 9878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant 10878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant// <regex> 11878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant 12878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant// typedef sub_match<string::const_iterator> ssub_match; 13878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant 14878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant#include <regex> 15878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant#include <type_traits> 16ee226c05af9e0187098f43fb71465a581487af9bDan Austin#include "test_macros.h" 17878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant 18878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnantint main() 19878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant{ 20878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant static_assert((std::is_same<std::sub_match<std::string::const_iterator>, std::ssub_match>::value), ""); 21878465043ff69cb10c3e65385c31384ef853d9abHoward Hinnant} 22