1178476Sjb// { dg-options "-std=gnu++11" } 2178476Sjb// { dg-require-cstdint "" } 3178476Sjb// 4178476Sjb// 2014-04-15 Ulrich Drepper <drepper@gmail.com> 5178476Sjb// 6178476Sjb// Copyright (C) 2014-2015 Free Software Foundation, Inc. 7178476Sjb// 8178476Sjb// This file is part of the GNU ISO C++ Library. This library is free 9178476Sjb// software; you can redistribute it and/or modify it under the 10178476Sjb// terms of the GNU General Public License as published by the 11178476Sjb// Free Software Foundation; either version 3, or (at your option) 12178476Sjb// any later version. 13178476Sjb// 14178476Sjb// This library is distributed in the hope that it will be useful, 15178476Sjb// but WITHOUT ANY WARRANTY; without even the implied warranty of 16178476Sjb// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17178476Sjb// GNU General Public License for more details. 18178476Sjb// 19178476Sjb// You should have received a copy of the GNU General Public License along 20178476Sjb// with this library; see the file COPYING3. If not see 21178476Sjb// <http://www.gnu.org/licenses/>. 22178476Sjb 23178476Sjb// Class template uniform_on_sphere 24178476Sjb// 26.5.1.6 Random number distribution requirements [rand.req.dist] 25178476Sjb 26178476Sjb#include <ext/random> 27178476Sjb#include <testsuite_hooks.h> 28178476Sjb 29178476Sjbvoid 30178476Sjbtest01() 31178476Sjb{ 32178476Sjb bool test [[gnu::unused]] = true; 33178476Sjb 34178476Sjb __gnu_cxx::uniform_on_sphere_distribution<2> u2; 35178476Sjb __gnu_cxx::uniform_on_sphere_distribution<3> u3; 36178476Sjb __gnu_cxx::uniform_on_sphere_distribution<4, double> u4; 37178476Sjb __gnu_cxx::uniform_on_sphere_distribution<5, float> u5; 38178476Sjb} 39178476Sjb 40178476Sjbint 41178476Sjbmain() 42178476Sjb{ 43178476Sjb test01(); 44178476Sjb return 0; 45178476Sjb} 46178476Sjb