[libc++][NFC] Remove trailing whitespace from release notes
[llvm-project.git] / clang / test / CXX / basic / basic.stc / basic.stc.dynamic / p2-noexceptions.cpp
blob41aeeee73edaf778b084f0b4d8b6100f51535333
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
3 // RUN: %clang_cc1 -fsyntax-only -verify %s
4 // expected-no-diagnostics
5 namespace std {
6 class bad_alloc { };
8 typedef __SIZE_TYPE__ size_t;
11 class foo { virtual ~foo(); };
13 void* operator new(std::size_t);
14 void* operator new[](std::size_t);
15 void operator delete(void*);
16 void operator delete[](void*);