Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions | Variables
26.valarray.transcend.stdcxx-315.cpp File Reference
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <new>
#include <valarray>
Include dependency graph for 26.valarray.transcend.stdcxx-315.cpp:

Go to the source code of this file.

Data Structures

struct  S< T >
 

Macros

#define TEST(fun, args)
 

Functions

void * operator new (std::size_t s) throw (std::bad_alloc)
 
int main ()
 

Variables

bool pass = true
 

Macro Definition Documentation

◆ TEST

#define TEST (   fun,
  args 
)
Value:
pass = true; \
fun args; \
if (!pass) { \
std::fprintf (stderr, "std::%s uses uninitialized storage\n", \
#fun); \
++nfails; \
} (void)0
#define fun
Definition 17.names.cpp:471
#define stderr

Function Documentation

◆ main()

int main ( void  )

Definition at line 62 of file 26.valarray.transcend.stdcxx-315.cpp.

◆ operator new()

void * operator new ( std::size_t  s)
throw (std::bad_alloc
)

26.valarray.transcend.stdcxx-315.cpp - regression test for STDCXX-315

http://issues.apache.org/jira/browse/STDCXX-315

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 36 of file 26.valarray.transcend.stdcxx-315.cpp.

Variable Documentation

◆ pass

bool pass = true

Definition at line 41 of file 26.valarray.transcend.stdcxx-315.cpp.