Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 9728 invoked from network); 17 Jul 2007 21:43:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jul 2007 21:43:28 -0000 Received: (qmail 60317 invoked by uid 500); 17 Jul 2007 21:43:27 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 60300 invoked by uid 500); 17 Jul 2007 21:43:26 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 60289 invoked by uid 99); 17 Jul 2007 21:43:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 14:43:26 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 14:43:23 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 9748F1A981A; Tue, 17 Jul 2007 14:43:03 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r557067 - /incubator/stdcxx/trunk/tests/localization/22.locale.cons.stdcxx-485.cpp Date: Tue, 17 Jul 2007 21:43:03 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070717214303.9748F1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Tue Jul 17 14:43:02 2007 New Revision: 557067 URL: http://svn.apache.org/viewvc?view=rev&rev=557067 Log: 2007-07-17 Martin Sebor * 22.locale.cons.stdcxx-485.cpp: New regression test for STDCXX-485. Added: incubator/stdcxx/trunk/tests/localization/22.locale.cons.stdcxx-485.cpp (with props) Added: incubator/stdcxx/trunk/tests/localization/22.locale.cons.stdcxx-485.cpp URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/localization/22.locale.cons.stdcxx-485.cpp?view=auto&rev=557067 ============================================================================== --- incubator/stdcxx/trunk/tests/localization/22.locale.cons.stdcxx-485.cpp (added) +++ incubator/stdcxx/trunk/tests/localization/22.locale.cons.stdcxx-485.cpp Tue Jul 17 14:43:02 2007 @@ -0,0 +1,15 @@ +#include +#include + +int main (int argc, char *argv[]) +{ + for (int j = 0; j != 2; ++j) { + std::locale locales [64]; + + for (int i = 1; i < argc; ++i) + locales [i] = std::locale (argv [i]); + + for (int i = 1; i < argc; ++i) + assert (std::has_facet >(locales [i])); + } +} Propchange: incubator/stdcxx/trunk/tests/localization/22.locale.cons.stdcxx-485.cpp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/stdcxx/trunk/tests/localization/22.locale.cons.stdcxx-485.cpp ------------------------------------------------------------------------------ svn:keywords = Id