125603Skjc// { dg-options "-std=gnu++11" } 225603Skjc// { dg-do compile } 3139823Simp// 425603Skjc// 2014-10-09 Ville Voutilainen <ville.voutilainen@gmail.com> 525603Skjc// 625603Skjc// Copyright (C) 2014-2015 Free Software Foundation, Inc. 725603Skjc// 825603Skjc// This file is part of the GNU ISO C++ Library. This library is free 925603Skjc// software; you can redistribute it and/or modify it under the 1025603Skjc// terms of the GNU General Public License as published by the 1125603Skjc// Free Software Foundation; either version 3, or (at your option) 1225603Skjc// any later version. 1325603Skjc 1425603Skjc// This library is distributed in the hope that it will be useful, 1525603Skjc// but WITHOUT ANY WARRANTY; without even the implied warranty of 1625603Skjc// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1725603Skjc// GNU General Public License for more details. 18133874Srwatson 19133874Srwatson// You should have received a copy of the GNU General Public License along 2025603Skjc// with this library; see the file COPYING3. If not see 2125603Skjc// <http://www.gnu.org/licenses/>. 2225603Skjc 2325603Skjc// NB: This file is for testing type_traits with NO OTHER INCLUDES. 2425603Skjc 2525603Skjc#include <type_traits> 2625603Skjc 2725603Skjcnamespace std 2825603Skjc{ 2925603Skjc typedef short test_type; 3025603Skjc template struct is_trivially_move_assignable<test_type>; 3125603Skjc} 3225603Skjc