1/** Simple regression test triggering the C++ operators new and delete. */
2
3#include <stdio.h>
4
5int main(int argc, char** argv)
6{
7  int zero = 0;
8  int* p = new int;
9  int* q = new int[733];
10  delete[] q;
11  delete p;
12
13  q = new int[zero];
14  delete q;
15
16  fprintf(stderr, "Success.\n");
17
18  return 0;
19}
20