summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash35.C
blob: 6e2cd744079d1b78a901ac4f58ec0849b285abda (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// Origin: Miniussi <miniussi@ilog.fr>

template <class O>
struct Str {
  Str(int& val= (*new int())); 
};

template<class O>
Str<O>::Str(int& val) {}