summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/eh/nrv1_y.C
blob: 5a43af7c205dc015f1c407563f8b3aac9caffa5f (plain)
1
2
3
4
5
6
7
8
#include "nrv1.h"

A f()
{
  A nrv;
  throw 42;
  return nrv;
}