summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb88.C
blob: cb604bc801f2ab4710bf5ced07b9abd1c14f80a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do run  }
// { dg-options "-w" }
// Another magic NULL problem.

#include <stddef.h>

int main()
{
  try
    {
      throw(NULL);
    }
  catch (...)
    {
    }
}