blob: 901510e106711822d108de62cca20fb1089643b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// PR c++/50024
// { dg-do compile { target c++11 } }
template< class T >
struct Container
{
Container(){
int* ptr = new int{};
}
};
int main() {
Container< int > c;
}
|