• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 namespace std {
4   class bad_alloc { };
5 
6   typedef __SIZE_TYPE__ size_t;
7 }
8 
9 class foo { virtual ~foo(); };
10 
11 void* operator new(std::size_t);
12 void* operator new[](std::size_t);
13 void operator delete(void*);
14 void operator delete[](void*);
15