summaryrefslogtreecommitdiff
path: root/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/p2-noexceptions.cpp
blob: 4567c469e817a7fc4a306e65f3f0e76c8a9f16e8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -fsyntax-only -verify %s
namespace std {
  class bad_alloc { };
  
  typedef __SIZE_TYPE__ size_t;
}

class foo { virtual ~foo(); };

void* operator new(std::size_t); 
void* operator new[](std::size_t);
void operator delete(void*);
void operator delete[](void*);