summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp68.C
blob: 63a7014a4aeaa6c218e7dca446ab65186c1d2347 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }

  struct locale
  {
    template<class _Facet>
      locale (const locale&, _Facet*);
    locale(int*) throw();
  };
  void f(int* p) { locale keep (p); }